From c7231aa1b4471f71d954d6a0d86601467e9c7851 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 7 Oct 2019 14:00:27 -0400 Subject: [PATCH] turn off the asyncio support we don't want/need --- autobahn.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/autobahn.nix b/autobahn.nix index 3cc1df2..df02609 100644 --- a/autobahn.nix +++ b/autobahn.nix @@ -1,6 +1,7 @@ { 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 = '' -- GitLab