33 lines
749 B
Nix
33 lines
749 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, jdcal
|
|
, et_xmlfile
|
|
, lxml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "openpyxl";
|
|
version = "2.5.4";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9239b74faf175dc4276a5fc277655fc53c2f704ded39e680d35e6a39e1913f69";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
} |