depot/third_party/nixpkgs/pkgs/development/python-modules/tidalapi/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

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