1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pyduotecno";
11 version = "2024.5.1";
12 pyproject = true;
13
14 disabled = pythonOlder "3.9";
15
16 src = fetchFromGitHub {
17 owner = "Cereal2nd";
18 repo = "pyDuotecno";
19 rev = "refs/tags/${version}";
20 hash = "sha256-huzv7f1Aq/n3cD9S4oXqGQogq7VpPpzAUqkOhiB879A=";
21 };
22
23 build-system = [ setuptools ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "duotecno" ];
29
30 meta = with lib; {
31 description = "Module to interact with Duotecno IP interfaces";
32 homepage = "https://github.com/Cereal2nd/pyDuotecno";
33 changelog = "https://github.com/Cereal2nd/pyDuotecno/releases/tag/${version}";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ fab ];
36 };
37}