blob: fb18a778ca31b2b3eb6741d840c62ee59f548215 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
setuptools,
standard-telnetlib,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "ndms2-client";
version = "0.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "foxel";
repo = "python_ndms2_client";
rev = version;
hash = "sha256-A19olC1rTHTy0xyeSP45fqvv9GUynQSrMgXBgW8ySOs=";
};
dependencies = lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ];
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ndms2_client" ];
meta = {
description = "Keenetic NDMS 2.x and 3.x client";
homepage = "https://github.com/foxel/python_ndms2_client";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|