blob: 7fccdfc6fb5801148461f43b40d095a34b64ff8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchPypi,
dacite,
python-dateutil,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "soundcloud-v2";
version = "1.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-RiUTFGwP/J7HKcHGFvT3Kw3NM/gUeMZCB/Jl8HLngkM=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
dacite
python-dateutil
requests
];
# tests require network
doCheck = false;
pythonImportsCheck = [ "soundcloud" ];
meta = {
description = "Python wrapper for the v2 SoundCloud API";
homepage = "https://github.com/7x11x13/soundcloud.py";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|