python31{1,2}Packages.tidalapi: fix build failure
This commit is contained in:
parent
24dcde46bf
commit
98e3e05206
1 changed files with 20 additions and 17 deletions
|
@ -1,42 +1,45 @@
|
||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, buildPythonPackage
|
buildPythonPackage,
|
||||||
, fetchPypi
|
fetchPypi,
|
||||||
, python-dateutil
|
python-dateutil,
|
||||||
, poetry-core
|
poetry-core,
|
||||||
, requests
|
requests,
|
||||||
|
isodate,
|
||||||
|
ratelimit,
|
||||||
|
typing-extensions,
|
||||||
|
mpegdash,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tidalapi";
|
pname = "tidalapi";
|
||||||
version = "0.7.6";
|
version = "0.7.6";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-X6U34T1sM4P+JFpOfcI7CmULcGZ4SCXwP2fFHKi1cWE=";
|
hash = "sha256-X6U34T1sM4P+JFpOfcI7CmULcGZ4SCXwP2fFHKi1cWE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests
|
requests
|
||||||
python-dateutil
|
python-dateutil
|
||||||
|
mpegdash
|
||||||
|
isodate
|
||||||
|
ratelimit
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false; # tests require internet access
|
doCheck = false; # tests require internet access
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "tidalapi" ];
|
||||||
"tidalapi"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
changelog = "https://github.com/tamland/python-tidal/releases/tag/v${version}";
|
changelog = "https://github.com/tamland/python-tidal/releases/tag/v${version}";
|
||||||
description = "Unofficial Python API for TIDAL music streaming service";
|
description = "Unofficial Python API for TIDAL music streaming service";
|
||||||
homepage = "https://github.com/tamland/python-tidal";
|
homepage = "https://github.com/tamland/python-tidal";
|
||||||
license = licenses.gpl3;
|
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
|
license = lib.licenses.gpl3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue