git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.asyncssh: init at 1.13.0 (#40527)
commitb9bdd7d4a3ecf73065feedc79d5d7e00c1b52b3c authorworldofpeace <worldofpeace@users.noreply.github.com> dateTue 22 May 2018, 22:09 (9 years ago) parent1aed893
2 files changed+38
pkgs/development/python-modules/asyncssh/default.nix+36 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/asyncssh/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
2+, cryptography
3+, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl }:
4+
5+buildPythonPackage rec {
6+ pname = "asyncssh";
7+ version = "1.13.0";
8+ disabled = pythonOlder "3.4";
9+
10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "1n75z4dvhzymd4n610dpwlq7wl8cyz1gxx9m7iq92pzhss5vgpfd";
13+ };
14+
15+ propagatedBuildInputs = [
16+ bcrypt
17+ cryptography
18+ gssapi
19+ libnacl
20+ libsodium
21+ nettle
22+ pyopenssl
23+ ];
24+
25+ # Disables windows specific test (specifically the GSSAPI wrapper for Windows)
26+ postPatch = ''
27+ rm ./tests/sspi_stub.py
28+ '';
29+
30+ meta = with stdenv.lib; {
31+ description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework";
32+ homepage = https://pypi.python.org/pypi/asyncssh;
33+ license = licenses.epl10;
34+ maintainers = with maintainers; [ worldofpeace ];
35+ };
36+}
pkgs/top-level/python-packages.nix+2
@@ -547,6 +547,8 @@ in {
547547
548548 asyncio = callPackage ../development/python-modules/asyncio {};
549549
550+ asyncssh = callPackage ../development/python-modules/asyncssh { };
551+
550552 python-fontconfig = callPackage ../development/python-modules/python-fontconfig { };
551553
552554 funcsigs = callPackage ../development/python-modules/funcsigs { };