summary refs log tree commit diff
path: root/pkgs/development/python-modules/ndms2-client/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/ndms2-client/default.nix')
-rw-r--r--pkgs/development/python-modules/ndms2-client/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ndms2-client/default.nix b/pkgs/development/python-modules/ndms2-client/default.nix
new file mode 100644
index 00000000000..d29946a5685
--- /dev/null
+++ b/pkgs/development/python-modules/ndms2-client/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+  pname = "ndms2-client";
+  version = "0.1.1";
+
+  src = fetchFromGitHub {
+    owner = "foxel";
+    repo = "python_ndms2_client";
+    rev = version;
+    sha256 = "1sc39d10hm1y8xf3gdqzq1akrx94k590l106242j9bvfqyr8lrk9";
+  };
+
+  checkInputs = [
+    pytestCheckHook
+  ];
+
+  pythonImportsCheck = [ "ndms2_client" ];
+
+  meta = with lib; {
+    description = "Keenetic NDMS 2.x and 3.x client";
+    homepage = "https://github.com/foxel/python_ndms2_client";
+    license = licenses.mit;
+    maintainers = with maintainers; [ dotlambda ];
+  };
+}