1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 aiohttp,
7 pytest,
8 pytestCheckHook,
9 pytest-mock,
10 pytest-asyncio,
11}:
12
13buildPythonPackage rec {
14 pname = "pyytlounge";
15 version = "3.2.0";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "FabioGNR";
20 repo = "pyytlounge";
21 tag = "v${version}";
22 hash = "sha256-8cdahP1u8Rf4m/167ie9aKcELLiWNvZOx7tV9YLK4nU=";
23 };
24
25 build-system = [ hatchling ];
26
27 dependencies = [ aiohttp ];
28
29 nativeCheckInputs = [
30 pytest
31 pytestCheckHook
32 pytest-mock
33 pytest-asyncio
34 ];
35
36 meta = with lib; {
37 description = "Python YouTube Lounge API";
38 homepage = "https://github.com/FabioGNR/pyytlounge";
39 license = licenses.gpl3Only;
40 maintainers = [ maintainers.lukegb ];
41 };
42}