28 lines
473 B
Nix
28 lines
473 B
Nix
|
{
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
|
||
|
requests,
|
||
|
dataclasses-json,
|
||
|
isodate,
|
||
|
requests-oauthlib
|
||
|
}:
|
||
|
buildPythonPackage rec {
|
||
|
pname = "python-youtube";
|
||
|
version = "0.8.0";
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "sha256-Ud0Y+lmsK88SNh0uIjhOHgCgCG+SBv/FQkt3yc63tlo=";
|
||
|
};
|
||
|
|
||
|
# PyPI doesn't have test data in the source dist
|
||
|
doCheck = false;
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
requests
|
||
|
dataclasses-json
|
||
|
isodate
|
||
|
requests-oauthlib
|
||
|
];
|
||
|
}
|