5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
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.3";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sIPuo1kd08Quflf7oFxoo1H56cdUDlbNTfFkn8j3jVE=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|