Skip to content
Snippets Groups Projects
Commit c7231aa1 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

turn off the asyncio support we don't want/need

parent 4d477f53
No related branches found
No related tags found
1 merge request!39Test with Nix instead
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k,
six, txaio, twisted, zope_interface, cffi, trollius, futures, cryptography,
mock, pytest
mock, pytest,
supportAsyncio ? false
}:
buildPythonPackage rec {
pname = "autobahn";
......@@ -14,7 +15,9 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography ] ++
(lib.optionals (!isPy3k) [ trollius futures ]);
(lib.optionals (!isPy3k) [ futures ]) ++
(lib.optionals (supportAsyncio && !isPy3k) [ trollius ])
;
checkInputs = [ mock pytest ];
checkPhase = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment