python.pkgs.openpyxl: 2.3.5 -> 2.4.8

This commit is contained in:
Frederik Rietdijk
2017-09-02 12:37:16 +02:00
parent bea4c21413
commit 2eaecf762d
2 changed files with 34 additions and 24 deletions

View File

@@ -0,0 +1,33 @@
{ 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 ];
};
}