2017-09-05 10:16:41 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, jdcal
|
|
|
|
, et_xmlfile
|
|
|
|
, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "openpyxl";
|
2018-04-08 07:33:50 +01:00
|
|
|
version = "2.5.2";
|
2017-09-05 10:16:41 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-08 07:33:50 +01:00
|
|
|
sha256 = "63165adcc806a5c281febb344f3594541f778f05b99a3a5e802941a3c0a85f71";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|