This release fixes a critical bug; version 0.7.1 has not worked with the current version of the Tidal API for a couple weeks: https://github.com/tamland/python-tidal/issues/146 0.7.2 also changes the packaging method from setuptools to pyproject.
43 lines
836 B
Nix
43 lines
836 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python-dateutil
|
|
, poetry-core
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tidalapi";
|
|
version = "0.7.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-CyyvzhuDB9XgroeP+WPTJIufT3VU9fD6Pg2Q1prB0Mo=";
|
|
};
|
|
|
|
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 = [ maintainers.rodrgz ];
|
|
};
|
|
}
|