about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-05-22 22:09:33 +0000
committerRobert Schütz <rschuetz17@gmail.com>2018-05-23 00:09:33 +0200
commitb9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c (patch)
tree1426e63953e7ca0534d71e6e743c0b0585b57b95 /pkgs/development/python-modules
parent1aed893dbaba14edc3440827c2469c7bf92786f7 (diff)
downloadnixlib-b9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c.tar
nixlib-b9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c.tar.gz
nixlib-b9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c.tar.bz2
nixlib-b9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c.tar.lz
nixlib-b9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c.tar.xz
nixlib-b9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c.tar.zst
nixlib-b9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c.zip
pythonPackages.asyncssh: init at 1.13.0 (#40527)
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/asyncssh/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/asyncssh/default.nix b/pkgs/development/python-modules/asyncssh/default.nix
new file mode 100644
index 000000000000..d5ab50dc9046
--- /dev/null
+++ b/pkgs/development/python-modules/asyncssh/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
+, cryptography
+, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl }:
+
+buildPythonPackage rec {
+  pname = "asyncssh";
+  version = "1.13.0";
+  disabled = pythonOlder "3.4";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1n75z4dvhzymd4n610dpwlq7wl8cyz1gxx9m7iq92pzhss5vgpfd";
+  };
+
+  propagatedBuildInputs = [ 
+    bcrypt
+    cryptography
+    gssapi
+    libnacl
+    libsodium
+    nettle
+    pyopenssl
+  ];
+
+  # Disables windows specific test (specifically the GSSAPI wrapper for Windows)
+  postPatch = ''
+    rm ./tests/sspi_stub.py
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework";
+    homepage = https://pypi.python.org/pypi/asyncssh;
+    license = licenses.epl10;
+    maintainers = with maintainers; [ worldofpeace ];
+  };
+}