1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, jdcal 6, et_xmlfile 7, lxml 8}: 9 10buildPythonPackage rec { 11 pname = "openpyxl"; 12 version = "2.5.0"; 13 name = "${pname}-${version}"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "0ff2e0c2c85cbf42e82dd223e7f2401a62dc73c18cd9e5dd7763dc6c8014ebde"; 18 }; 19 20 checkInputs = [ pytest ]; 21 propagatedBuildInputs = [ jdcal et_xmlfile lxml ]; 22 23 # Tests are not included in archive. 24 # https://bitbucket.org/openpyxl/openpyxl/issues/610 25 doCheck = false; 26 27 meta = { 28 description = "A Python library to read/write Excel 2007 xlsx/xlsm files"; 29 homepage = https://openpyxl.readthedocs.org; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ lihop sjourdois ]; 32 }; 33}