From 1c5a02033a895fc00898c9dbe49c4091339007d8 Mon Sep 17 00:00:00 2001 From: "Markus S. Wamser" Date: Fri, 30 Apr 2021 09:41:54 +0200 Subject: [PATCH] pythonPackages.autobahn: limit to Python 3 Python 2.7 is long end-of-life and dependency ond old compatibility helpers can be dropped. --- pkgs/development/python-modules/autobahn/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix index 386d4766bbfa..19015a5729ad 100644 --- a/pkgs/development/python-modules/autobahn/default.nix +++ b/pkgs/development/python-modules/autobahn/default.nix @@ -1,19 +1,18 @@ { lib, buildPythonPackage, fetchPypi, isPy3k, six, txaio, twisted, zope_interface, cffi, - trollius ? null, futures ? null, mock, pytest, cryptography, pynacl }: buildPythonPackage rec { pname = "autobahn"; version = "21.3.1"; + disabled = !isPy3k; src = fetchPypi { inherit pname version; sha256 = "e126c1f583e872fb59e79d36977cfa1f2d0a8a79f90ae31f406faae7664b8e03"; }; - propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++ - (lib.optionals (!isPy3k) [ trollius futures ]); + propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ]; checkInputs = [ mock pytest ]; checkPhase = ''