nixpkgs/pkgs/development/python-modules/tidalapi/default.nix
2023-09-08 23:30:59 +00:00

43 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 = [ ];
};
}