From 7670a03a6394037e1a49932ee1376d5c8ddd196d Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 8 Jun 2020 11:43:20 -0700 Subject: [PATCH] pythonPackages.txaio: disabled python2 Processing ./txaio-20.4.1-py2.py3-none-any.whl ERROR: Package 'txaio' requires a different Python: 2.7.18 not in '>=3.5' --- pkgs/development/python-modules/txaio/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/txaio/default.nix b/pkgs/development/python-modules/txaio/default.nix index efadddade1e1..7e87a2d59ea4 100644 --- a/pkgs/development/python-modules/txaio/default.nix +++ b/pkgs/development/python-modules/txaio/default.nix @@ -1,8 +1,9 @@ -{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, six, twisted,isPy37 }: +{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, six, twisted, isPy37, isPy27 }: buildPythonPackage rec { pname = "txaio"; version = "20.4.1"; + disabled = isPy27; src = fetchPypi { inherit pname version;