2023-01-20 10:41:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python-dateutil
|
2023-08-04 22:07:22 +00:00
|
|
|
, poetry-core
|
2023-01-20 10:41:00 +00:00
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tidalapi";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.7.5";
|
2023-08-04 22:07:22 +00:00
|
|
|
format = "pyproject";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-QzrIWQ7cWpPAu3+/zqAqX9eDWOF8F3Xj8Rt5D8I6h9M=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
python-dateutil
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # tests require internet access
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"tidalapi"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
changelog = "https://github.com/tamland/python-tidal/releases/tag/v${version}";
|
|
|
|
description = "Unofficial Python API for TIDAL music streaming service";
|
|
|
|
homepage = "https://github.com/tamland/python-tidal";
|
|
|
|
license = licenses.gpl3;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = [ ];
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
}
|