My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/ytmusicapi/default.nix

34 lines
643 B

{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "ytmusicapi";
version = "0.19.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "dfd0271f7177173cea9c255730151a10a2fe4a32f9accd2fe31e7645936c90c5";
};
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 ];
};
}