1{
2 lib,
3 bleak,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "aioacaia";
12 version = "0.1.16";
13 pyproject = true;
14
15 disabled = pythonOlder "3.12";
16
17 src = fetchFromGitHub {
18 owner = "zweckj";
19 repo = "aioacaia";
20 tag = "v${version}";
21 hash = "sha256-7b5ZIrChMVPGREg7M+O8m2RDJGKgdTcEcGpTF6KBy1k=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [ bleak ];
27
28 # Module only has a homebrew tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "aioacaia" ];
32
33 meta = {
34 description = "Async implementation of pyacaia";
35 homepage = "https://github.com/zweckj/aioacaia";
36 changelog = "https://github.com/zweckj/aioacaia/releases/tag/v${version}";
37 license = lib.licenses.gpl3Only;
38 maintainers = with lib.maintainers; [ fab ];
39 };
40}