Skip to content

Commit 16f1a1b

Browse files
committed
python3.pkgs.pyytlounge: init at 2.1.1
1 parent c645046 commit 16f1a1b

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
hatchling,
6+
aiohttp,
7+
pytest,
8+
pytestCheckHook,
9+
pytest-mock,
10+
pytest-asyncio,
11+
}:
12+
13+
buildPythonPackage rec {
14+
pname = "pyytlounge";
15+
version = "2.1.1";
16+
17+
src = fetchFromGitHub {
18+
owner = "FabioGNR";
19+
repo = "pyytlounge";
20+
rev = "v${version}";
21+
hash = "sha256-0QPa3EzOBv5fuw3FGgmoN4KiC4KHo1Z+Svjcneoe0pc=";
22+
};
23+
24+
pyproject = true;
25+
26+
doCheck = true;
27+
28+
build-system = [ hatchling ];
29+
30+
dependencies = [ aiohttp ];
31+
32+
nativeCheckInputs = [
33+
pytest
34+
pytestCheckHook
35+
pytest-mock
36+
pytest-asyncio
37+
];
38+
39+
meta = with lib; {
40+
description = "Python YouTube Lounge API";
41+
homepage = "https://github.com/FabioGNR/pyytlounge";
42+
license = licenses.gpl3Only;
43+
maintainers = [ maintainers.lukegb ];
44+
};
45+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13123,6 +13123,8 @@ self: super: with self; {
1312313123

1312413124
pyyardian = callPackage ../development/python-modules/pyyardian { };
1312513125

13126+
pyytlounge = callPackage ../development/python-modules/pyytlounge { };
13127+
1312613128
pyzabbix = callPackage ../development/python-modules/pyzabbix { };
1312713129

1312813130
pyzerproc = callPackage ../development/python-modules/pyzerproc { };

0 commit comments

Comments
 (0)