From 6de03472f4322c26798669b96ef3109c5f8d9679 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 16 Oct 2020 09:38:01 -0700 Subject: [PATCH] python2Packages.aioconsole: disable ``` Processing ./aioconsole-0.3.0-py2-none-any.whl ERROR: Package 'aioconsole' requires a different Python: 2.7.18 not in '>=3.6' ``` --- pkgs/development/python-modules/aioconsole/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/aioconsole/default.nix b/pkgs/development/python-modules/aioconsole/default.nix index ca16b7d7fea..3090c3cb1f6 100644 --- a/pkgs/development/python-modules/aioconsole/default.nix +++ b/pkgs/development/python-modules/aioconsole/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi }: +{ lib, buildPythonPackage, fetchPypi, pythonOlder }: # This package provides a binary "apython" which sometimes invokes # [sys.executable, '-m', 'aioconsole'] as a subprocess. If apython is @@ -11,6 +11,7 @@ buildPythonPackage rec { pname = "aioconsole"; version = "0.3.0"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version;