From de231741d15c9d6ee4a4ee60583106263c8073e2 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 16 Jun 2020 13:57:19 -0700 Subject: [PATCH] pythonPackages.humanize: disable python2, setup.py is py3 only --- pkgs/development/python-modules/humanize/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/humanize/default.nix b/pkgs/development/python-modules/humanize/default.nix index 10f1b800068..418a8e203e4 100644 --- a/pkgs/development/python-modules/humanize/default.nix +++ b/pkgs/development/python-modules/humanize/default.nix @@ -1,6 +1,7 @@ { stdenv , buildPythonPackage , fetchPypi +, isPy27 , mock , setuptools_scm }: @@ -8,6 +9,7 @@ buildPythonPackage rec { version = "2.4.0"; pname = "humanize"; + disabled = isPy27; # setup.py no longer compatible src = fetchPypi { inherit pname version;