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:
parent
2ff336107f
commit
9f5fc1ba37
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/tidalapi/default.nix
Normal file
37
pkgs/development/python-modules/tidalapi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue