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

36 lines
671 B

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "ytmusicapi";
version = "0.22.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-CZ4uoW4UHn5C+MckQXysTdydaApn99b0UCnF5RPb7DI=";
};
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 ];
};
}