1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "ndms2-client";
11 version = "0.1.3";
12
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "foxel";
17 repo = "python_ndms2_client";
18 rev = version;
19 hash = "sha256-A19olC1rTHTy0xyeSP45fqvv9GUynQSrMgXBgW8ySOs=";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "ndms2_client" ];
27
28 meta = with lib; {
29 description = "Keenetic NDMS 2.x and 3.x client";
30 homepage = "https://github.com/foxel/python_ndms2_client";
31 license = licenses.mit;
32 maintainers = with maintainers; [ dotlambda ];
33 };
34}