about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-04-24 02:55:59 +0200
committerGitHub <noreply@github.com>2021-04-24 02:55:59 +0200
commitaec6218bf0f32025927dc1fbdc4f7b8b5f03efe3 (patch)
tree6c532a6b30d3b4abd02d2e191c0dc00dff0a9c8b /pkgs/development
parentb906c94ad96b1e125af77c55a0bf2e73f38bdf10 (diff)
parente861822d4f26c77bf141b0f5c9e450248bbd6241 (diff)
Merge pull request #120331 from fabaff/nclib
python3Packages.nclib: init at 1.0.0
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/nclib/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nclib/default.nix b/pkgs/development/python-modules/nclib/default.nix
new file mode 100644
index 0000000000000..0e15bfb6cc4d8
--- /dev/null
+++ b/pkgs/development/python-modules/nclib/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+  pname = "nclib";
+  version = "1.0.0";
+  disabled = pythonOlder "3.5";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0kf8x30lrwhijab586i54g70s3sxvm2945al48zj27grj0pagh7g";
+  };
+
+  # Project has no tests
+  doCheck = false;
+  pythonImportsCheck = [ "nclib" ];
+
+  meta = with lib; {
+    description = "Python module that provides netcat features";
+    homepage = "https://nclib.readthedocs.io/";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}