nixpkgs/pkgs/development/python-modules/tidalapi/default.nix
Erik Rodriguez 9f5fc1ba37
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.
2023-01-17 12:38:56 -03:00

38 lines
777 B
Nix

{ 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 ];
};
}