32 lines
717 B
Nix
32 lines
717 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, jdcal
|
|
, et_xmlfile
|
|
, lxml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "openpyxl";
|
|
version = "2.5.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "04091e034911a0afc531c3a15e5ae0b1b6a43654dbf63c187f47d20cdfefac1c";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
} |