36 lines
724 B
Nix
36 lines
724 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|