python310Packages.openpyxl: disable on unsupported Python releases

- add format
This commit is contained in:
Fabian Affolter 2023-03-29 00:12:13 +02:00
parent 367eb7b59a
commit 6e38489a88

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pythonOlder
, pytest
, jdcal
, et_xmlfile
@ -11,7 +11,9 @@
buildPythonPackage rec {
pname = "openpyxl";
version = "3.1.2";
disabled = isPy27; # 2.6.4 was final python2 release
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;