depot/third_party/nixpkgs/pkgs/development/python-modules/ytmusicapi/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

36 lines
673 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "ytmusicapi";
version = "0.19.5";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-haZe5afwkU8wD8s2lrmHJuVo6TO3CcQ/0TuJbHPmqvU=";
};
propagatedBuildInputs = [
requests
];
doCheck = false; # requires network access
pythonImportsCheck = [
"ytmusicapi"
];
meta = with lib; {
description = "Python API for YouTube Music";
homepage = "https://github.com/sigma67/ytmusicapi";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}