587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
42 lines
817 B
Nix
42 lines
817 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python-dateutil
|
|
, poetry-core
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tidalapi";
|
|
version = "0.7.5";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-QzrIWQ7cWpPAu3+/zqAqX9eDWOF8F3Xj8Rt5D8I6h9M=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
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;
|
|
maintainers = [ ];
|
|
};
|
|
}
|