Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / soundcloud-v2 / default.nix
blobd1df08cf90396c75177315841876a7ba57b35561
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , dacite
5 , python-dateutil
6 , pythonOlder
7 , requests
8 , setuptools
9 }:
11 buildPythonPackage rec {
12   pname = "soundcloud-v2";
13   version = "1.3.7";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     sha256 = "sha256-DiaCnIEXKSxyE4+MCq0KwdKWUGfWO3LAVwsMNEkOmqc=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     dacite
29     python-dateutil
30     requests
31   ];
33   # tests require network
34   doCheck = false;
36   pythonImportsCheck = [ "soundcloud" ];
38   meta = with lib; {
39     description = "Python wrapper for the v2 SoundCloud API";
40     homepage = "https://github.com/7x11x13/soundcloud.py";
41     license = licenses.mit;
42     maintainers = with maintainers; [ ];
43   };