1{
2 aiohttp,
3 buildPythonPackage,
4 fetchFromGitea,
5 hatchling,
6 lib,
7 yarl,
8}:
9
10buildPythonPackage rec {
11 pname = "eheimdigital";
12 version = "1.3.2";
13 pyproject = true;
14
15 src = fetchFromGitea {
16 domain = "codeberg.org";
17 owner = "autinerd";
18 repo = "eheimdigital";
19 tag = version;
20 hash = "sha256-wFKkfzZ4LLwWhVYigospWYBxTGAJGZWO6Wrj3bvUsc8=";
21 };
22
23 build-system = [ hatchling ];
24
25 dependencies = [
26 aiohttp
27 yarl
28 ];
29
30 pythonImportsCheck = [ "eheimdigital" ];
31
32 # upstream tests are dysfunctional
33 doCheck = false;
34
35 meta = {
36 changelog = "https://codeberg.org/autinerd/eheimdigital/releases/tag/${src.tag}";
37 description = "Offers a Python API for the EHEIM Digital smart aquarium devices";
38 homepage = "https://codeberg.org/autinerd/eheimdigital";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ dotlambda ];
41 };
42}