pythonPackages.openpyxl: disable for python2

This commit is contained in:
Jonathan Ringer 2019-10-25 01:39:23 -07:00 committed by Frederik Rietdijk
parent b63ef1ae0b
commit 6dc311dbce
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, pytest , pytest
, jdcal , jdcal
, et_xmlfile , et_xmlfile
@ -10,6 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "openpyxl"; pname = "openpyxl";
version = "3.0.0"; version = "3.0.0";
disabled = isPy27; # 2.6.4 was final python2 release
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -35,4 +37,4 @@ buildPythonPackage rec {
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lihop sjourdois ]; maintainers = with lib.maintainers; [ lihop sjourdois ];
}; };
} }