blob: 25c114debd4048729a466aa5ec79ad351851f7da (
plain) (
blame)
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
43
44
45
46
|
{ lib
, buildPythonPackage
, fetchPypi
, async-timeout
, pysnmp-lextudio
, pythonOlder
, poetry-core
}:
buildPythonPackage rec {
pname = "atenpdu";
version = "0.6.2";
pyproject = true;
disabled = pythonOlder "3.";
src = fetchPypi {
inherit pname version;
hash = "sha256-KzRoE4tE/tQkKYroq5PbWKREmEl8AwbIOg3IHRZZtsQ=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
async-timeout
pysnmp-lextudio
];
# Module has no test
doCheck = false;
pythonImportsCheck = [
"atenpdu"
];
meta = with lib; {
description = "Python interface to control ATEN PE PDUs";
mainProgram = "pductl";
homepage = "https://github.com/mtdcr/pductl";
changelog = "https://github.com/mtdcr/pductl/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|