nixpkgs/pkgs/development/python-modules/openpyxl/default.nix
Frederik Rietdijk 67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00

33 lines
749 B
Nix

{ 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 ];
};
}