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.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "04091e034911a0afc531c3a15e5ae0b1b6a43654dbf63c187f47d20cdfefac1c";
17 };
18
19 checkInputs = [ pytest ];
20 propagatedBuildInputs = [ jdcal et_xmlfile lxml ];
21
22 # Tests are not included in archive.
23 # https://bitbucket.org/openpyxl/openpyxl/issues/610
24 doCheck = false;
25
26 meta = {
27 description = "A Python library to read/write Excel 2007 xlsx/xlsm files";
28 homepage = https://openpyxl.readthedocs.org;
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ lihop sjourdois ];
31 };
32}