Merge pull request #210219 from rodrgz/tidalapi

python3Packages.tidalapi: init at 0.7.0
This commit is contained in:
Martin Weinelt 2023-01-17 20:07:01 +00:00 committed by GitHub
commit 4bab0ae5aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, python-dateutil
, requests
}:
buildPythonPackage rec {
pname = "tidalapi";
version = "0.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-LdlTBkCOb7tXiupsNJ5lbk38syKXeADvi2IdGpW/dk8=";
};
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 ];
};
}

View File

@ -11331,6 +11331,8 @@ self: super: with self; {
py = python.override { x11Support=true; };
};
tidalapi = callPackage ../development/python-modules/tidalapi { };
tidyexc = callPackage ../development/python-modules/tidyexc { };
tidylib = callPackage ../development/python-modules/pytidylib { };