504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
36 lines
705 B
Nix
36 lines
705 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, dacite
|
|
, python-dateutil
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "soundcloud-v2";
|
|
version = "1.3.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9a9c12aa22e71566e2ca6015267cabc1856afd79fa458f0fc43c44872c184741";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
dacite
|
|
python-dateutil
|
|
requests
|
|
];
|
|
|
|
# tests require network
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "soundcloud" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python wrapper for the v2 SoundCloud API";
|
|
homepage = "https://github.com/7x11x13/soundcloud.py";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ marsam ];
|
|
};
|
|
}
|