python310Packages.openpyxl: disable on unsupported Python releases
- add format
This commit is contained in:
parent
367eb7b59a
commit
6e38489a88
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
, pythonOlder
|
||||||
, pytest
|
, pytest
|
||||||
, jdcal
|
, jdcal
|
||||||
, et_xmlfile
|
, et_xmlfile
|
||||||
|
@ -11,7 +11,9 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "openpyxl";
|
pname = "openpyxl";
|
||||||
version = "3.1.2";
|
version = "3.1.2";
|
||||||
disabled = isPy27; # 2.6.4 was final python2 release
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
Loading…
Reference in a new issue