1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "aioonkyo";
11 version = "0.3.0";
12 pyproject = true;
13
14 disabled = pythonOlder "3.13";
15
16 src = fetchFromGitHub {
17 owner = "arturpragacz";
18 repo = "aioonkyo";
19 tag = version;
20 hash = "sha256-xGSvwfCwWfWHZTl4+Uf+vgI5JkjeO5affbURqpLsCuk=";
21 };
22
23 build-system = [ hatchling ];
24
25 # Package has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "aioonkyo" ];
29
30 meta = {
31 description = "Library for controlling Onkyo AV receivers";
32 homepage = "https://github.com/arturpragacz/aioonkyo";
33 changelog = "https://github.com/arturpragacz/aioonkyo/releases/tag/${version}";
34 license = lib.licenses.gpl3Only;
35 maintainers = [ lib.maintainers.jamiemagee ];
36 };
37}