tidalapi: init at 0.7.0

The checkPhase is disabled because all tests try to connect to the internet, which is forbidden in the sandbox.
This commit is contained in:
Erik Rodriguez 2023-01-11 12:55:01 -03:00
parent 2ff336107f
commit 9f5fc1ba37
No known key found for this signature in database
GPG key ID: 5979ED35ED299E6D
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

@ -11263,6 +11263,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 { };