python.pkgs.openpyxl: 2.3.5 -> 2.4.8
This commit is contained in:
parent
bea4c21413
commit
2eaecf762d
33
pkgs/development/python-modules/openpyxl/default.nix
Normal file
33
pkgs/development/python-modules/openpyxl/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -14259,30 +14259,7 @@ in {
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
openpyxl = buildPythonPackage rec {
|
||||
version = "2.3.5";
|
||||
name = "openpyxl-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/o/openpyxl/${name}.tar.gz";
|
||||
sha256 = "0qj7d8l1qc6cjwk1ps01dyh53b3p2k2k7hwmj98y2257jj5mf1s3";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytest ];
|
||||
propagatedBuildInputs = with self; [ 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 = licenses.mit;
|
||||
maintainers = with maintainers; [ lihop sjourdois ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
openpyxl = callPackage ../development/python-modules/openpyxl { };
|
||||
|
||||
ordereddict = buildPythonPackage rec {
|
||||
name = "ordereddict-${version}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user