1{ lib
2, buildPythonPackage
3, fetchPypi
4, dacite
5, python-dateutil
6, requests
7}:
8
9buildPythonPackage rec {
10 pname = "soundcloud-v2";
11 version = "1.3.1";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "9a9c12aa22e71566e2ca6015267cabc1856afd79fa458f0fc43c44872c184741";
16 };
17
18 propagatedBuildInputs = [
19 dacite
20 python-dateutil
21 requests
22 ];
23
24 # tests require network
25 doCheck = false;
26
27 pythonImportsCheck = [ "soundcloud" ];
28
29 meta = with lib; {
30 description = "Python wrapper for the v2 SoundCloud API";
31 homepage = "https://github.com/7x11x13/soundcloud.py";
32 license = licenses.mit;
33 maintainers = with maintainers; [ marsam ];
34 };
35}