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