|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, |
|
|
|
|
six, txaio, twisted, zope_interface, cffi, trollius, futures, |
|
|
|
|
mock, pytest |
|
|
|
|
mock, pytest, cryptography, pynacl |
|
|
|
|
}: |
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "autobahn"; |
|
|
|
@ -11,7 +11,7 @@ buildPythonPackage rec { |
|
|
|
|
sha256 = "294e7381dd54e73834354832604ae85567caf391c39363fed0ea2bfa86aa4304"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++ |
|
|
|
|
propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++ |
|
|
|
|
(lib.optionals (!isPy3k) [ trollius futures ]); |
|
|
|
|
|
|
|
|
|
checkInputs = [ mock pytest ]; |
|
|
|
@ -21,6 +21,10 @@ buildPythonPackage rec { |
|
|
|
|
runHook postCheck |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
# Tests do no seem to be compatible yet with pytest 5.1 |
|
|
|
|
# https://github.com/crossbario/autobahn-python/issues/1235 |
|
|
|
|
doCheck = false; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "WebSocket and WAMP in Python for Twisted and asyncio."; |
|
|
|
|
homepage = "https://crossbar.io/autobahn"; |
|
|
|
|