55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
python-dateutil,
|
|
poetry-core,
|
|
requests,
|
|
isodate,
|
|
ratelimit,
|
|
typing-extensions,
|
|
mpegdash,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "tidalapi";
|
|
version = "0.8.5";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EbbLabs";
|
|
repo = "python-tidal";
|
|
tag = "v${version}";
|
|
hash = "sha256-DI1EtjwHGsdneyW3Av6ZEWoKf0MzkXs0NJkD55W5pD0=";
|
|
};
|
|
|
|
build-system = [
|
|
poetry-core
|
|
];
|
|
|
|
dependencies = [
|
|
requests
|
|
python-dateutil
|
|
mpegdash
|
|
isodate
|
|
ratelimit
|
|
typing-extensions
|
|
];
|
|
|
|
doCheck = false; # tests require internet access
|
|
|
|
pythonImportsCheck = [
|
|
"tidalapi"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/tamland/python-tidal/blob/v${version}/HISTORY.rst";
|
|
description = "Unofficial Python API for TIDAL music streaming service";
|
|
homepage = "https://github.com/tamland/python-tidal";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [
|
|
drawbu
|
|
ryand56
|
|
];
|
|
};
|
|
}
|