{ 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 ]; }; }