1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pythonOlder,
7 aiohttp,
8}:
9
10buildPythonPackage rec {
11 pname = "romy";
12 version = "0.0.10";
13 pyproject = true;
14
15 disabled = pythonOlder "3.11";
16
17 src = fetchFromGitHub {
18 owner = "xeniter";
19 repo = "romy";
20 tag = version;
21 hash = "sha256-pQI+/1xt1YE+L5CHsurkBr2dKMGR/dV5vrGHYM8wNGs=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [ aiohttp ];
27
28 # Module has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "romy" ];
32
33 meta = with lib; {
34 description = "Library to control Wi-Fi enabled ROMY vacuum cleaners";
35 homepage = "https://github.com/xeniter/romy";
36 changelog = "https://github.com/xeniter/romy/releases/tag/${version}";
37 license = licenses.agpl3Only;
38 maintainers = with maintainers; [ fab ];
39 };
40}