summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-11-09 08:53:20 +0100
committerDomen Kožar <domen@dev.si>2015-11-09 08:53:20 +0100
commit5396d92c5d719831b213afb03637bd5964816edc (patch)
tree01bddafaabcd3b4ee0a5f4190423065355ce581a /pkgs
parent954b3b616d318b34398c65bb1208292492f6782e (diff)
parente35621c27b04073fe2b6b274625c65d598c21258 (diff)
downloadnixpkgs-5396d92c5d719831b213afb03637bd5964816edc.tar
nixpkgs-5396d92c5d719831b213afb03637bd5964816edc.tar.gz
nixpkgs-5396d92c5d719831b213afb03637bd5964816edc.tar.bz2
nixpkgs-5396d92c5d719831b213afb03637bd5964816edc.tar.lz
nixpkgs-5396d92c5d719831b213afb03637bd5964816edc.tar.xz
nixpkgs-5396d92c5d719831b213afb03637bd5964816edc.tar.zst
nixpkgs-5396d92c5d719831b213afb03637bd5964816edc.zip
Merge pull request #10905 from sjourdois/openpyxl
python packages: update openpyxl with new dep package et_xmlfile
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix37
1 files changed, 32 insertions, 5 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 5d3cce7a689..b625119aa92 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -6532,6 +6532,33 @@ let
     };
   };
 
+  et_xmlfile = buildPythonPackage rec {
+    version = "1.0.1";
+    name = "et_xmlfile-${version}";
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/e/et_xmlfile/${name}.tar.gz";
+      sha256="0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1";
+    };
+
+    meta = {
+      description = "An implementation of lxml.xmlfile for the standard library";
+      longDescription = ''
+        et_xmlfile is a low memory library for creating large XML files.
+
+        It is based upon the xmlfile module from lxml with the aim of allowing
+        code to be developed that will work with both libraries. It was developed
+        initially for the openpyxl project but is now a standalone module.
+
+        The code was written by Elias Rabel as part of the Python Düsseldorf
+        openpyxl sprint in September 2014.
+      '';
+      homepage = "https://pypi.python.org/pypi/et_xmlfile";
+      license = licenses.mit;
+      maintainers = with maintainers; [ sjourdois ];
+    };
+  };
+
   eventlet = buildPythonPackage rec {
     name = "eventlet-0.17.4";
 
@@ -10446,23 +10473,23 @@ let
   };
 
   openpyxl = buildPythonPackage rec {
-    version = "2.2.6";
+    version = "2.3.0";
     name = "openpyxl-${version}";
 
     src = pkgs.fetchhg {
       url = "https://bitbucket.org/openpyxl/openpyxl";
       rev = "${version}";
-      sha256 = "159cg3njsybjdmwr0458qc5k0m7hbq41h3fczxflc0wnh7ancrdf";
+      sha256 = "1iisk6rfh9h5xb411kfyzkcab6fdnsx573i0d83wfn4csk4p3p4d";
     };
 
     buildInputs = with self; [ pytest ];
-    propagatedBuildInputs = with self; [ jdcal ];
+    propagatedBuildInputs = with self; [ jdcal et_xmlfile ];
 
     meta = {
       description = "A Python library to read/write Excel 2007 xlsx/xlsm files";
-      homepage = "https://openpyxl.readthedocs.org";
+      homepage = https://openpyxl.readthedocs.org;
       license = licenses.mit;
-      maintainers = with maintainers; [ lihop ];
+      maintainers = with maintainers; [ lihop sjourdois ];
       platforms = platforms.all;
     };
   };