blob: 230397e80910898a6f1a5604fbc479df660f37d2 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pythonAtLeast,
standard-telnetlib,
}:
buildPythonPackage rec {
pname = "pynetio";
version = "0.1.9.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Z6pLZPcQrPy3z/wCwCO2S4FvkJYKDZ6dy/IlwImPeb8=";
};
build-system = [ setuptools ];
dependencies = lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ];
# Package has no tests
doCheck = false;
pythonImportsCheck = [ "pynetio" ];
meta = {
description = "Binding library for Koukaam netio devices";
homepage = "https://github.com/wookiesh/pynetio";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|