pythonPackages.humanize: disable python2, setup.py is py3 only

This commit is contained in:
Jonathan Ringer 2020-06-16 13:57:19 -07:00
parent 622e5db89e
commit de231741d1

View file

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, mock , mock
, setuptools_scm , setuptools_scm
}: }:
@ -8,6 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
version = "2.4.0"; version = "2.4.0";
pname = "humanize"; pname = "humanize";
disabled = isPy27; # setup.py no longer compatible
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;