python.pkgs.openpyxl: 2.3.5 -> 2.4.8
This commit is contained in:
33
pkgs/development/python-modules/openpyxl/default.nix
Normal file
33
pkgs/development/python-modules/openpyxl/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, jdcal
|
||||
, et_xmlfile
|
||||
, lxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openpyxl";
|
||||
version = "2.4.8";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ee7551efb70648fa8ee569c2b6a6dbbeff390cc94b321da5d508a573b90a4f17";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ jdcal et_xmlfile lxml ];
|
||||
|
||||
# Tests are not included in archive.
|
||||
# https://bitbucket.org/openpyxl/openpyxl/issues/610
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A Python library to read/write Excel 2007 xlsx/xlsm files";
|
||||
homepage = https://openpyxl.readthedocs.org;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ lihop sjourdois ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user