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
Branches
No related tags found
1 merge request!39Test with Nix instead
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, { lib, buildPythonPackage, fetchFromGitHub, isPy3k,
six, txaio, twisted, zope_interface, cffi, trollius, futures, cryptography, six, txaio, twisted, zope_interface, cffi, trollius, futures, cryptography,
mock, pytest mock, pytest,
supportAsyncio ? false
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "autobahn"; pname = "autobahn";
...@@ -14,7 +15,9 @@ buildPythonPackage rec { ...@@ -14,7 +15,9 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography ] ++ 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 ]; checkInputs = [ mock pytest ];
checkPhase = '' checkPhase = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment