Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
2, cryptography
3, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl
4, openssl }:
5
6buildPythonPackage rec {
7 pname = "asyncssh";
8 version = "1.15.1";
9 disabled = pythonOlder "3.4";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "f2065a8b3af0c514c8de264e7b01f08df5213b707bacb7e7c080bd46c3e3bc35";
14 };
15
16 propagatedBuildInputs = [
17 bcrypt
18 cryptography
19 gssapi
20 libnacl
21 libsodium
22 nettle
23 pyopenssl
24 ];
25
26 checkInputs = [ openssl ];
27
28 # Disables windows specific test (specifically the GSSAPI wrapper for Windows)
29 postPatch = ''
30 rm ./tests/sspi_stub.py
31 '';
32
33 meta = with stdenv.lib; {
34 description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework";
35 homepage = https://pypi.python.org/pypi/asyncssh;
36 license = licenses.epl20;
37 maintainers = with maintainers; [ worldofpeace ];
38 };
39}