3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ytmusicapi/default.nix
2021-04-23 12:30:11 +02:00

34 lines
630 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "ytmusicapi";
version = "0.16.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-/94/taeBI6xZ3uN/wfMnk/NPmk+j0+aaH8CAZBEsK10=";
};
propagatedBuildInputs = [
requests
];
doCheck = false; # requires network access
pythonImportsCheck = [ "ytmusicapi" ];
meta = with lib; {
description = "Unofficial API for YouTube Music";
homepage = "https://github.com/sigma67/ytmusicapi";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}