blob: d216e7219b40b76fa8d5fb8ffb37af05b0e23e99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
dataclasses-json,
isodate,
requests,
requests-oauthlib,
pytest-cov-stub,
pytestCheckHook,
responses,
}:
buildPythonPackage rec {
pname = "python-youtube";
version = "0.9.8";
pyproject = true;
src = fetchFromGitHub {
owner = "sns-sdks";
repo = "python-youtube";
tag = "v${version}";
hash = "sha256-8Ozfga6gPLzPG770hluAgxIYI2TEX5uAe6BeMzIp+z4=";
};
pythonRelaxDeps = [
"requests-oauthlib"
];
build-system = [ poetry-core ];
dependencies = [
dataclasses-json
isodate
requests
requests-oauthlib
];
pythonImportsCheck = [ "pyyoutube" ];
nativeCheckInputs = [
pytestCheckHook
responses
pytest-cov-stub
];
meta = {
description = "Simple Python wrapper around for YouTube Data API";
homepage = "https://github.com/sns-sdks/python-youtube";
changelog = "https://github.com/sns-sdks/python-youtube/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|