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