summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorArseniy Seroka <jagajaga@users.noreply.github.com>2015-06-20 10:50:31 +0200
committerArseniy Seroka <jagajaga@users.noreply.github.com>2015-06-20 10:50:31 +0200
commit0fea0534611848eb1f4c8c8133ea6ec348e78f0d (patch)
treefbd5c8c83d66611f869edfa5c4f75c5ef7e19e58 /pkgs
parent95787d2fe5f48e6b4d5b6846d854231fd3d636aa (diff)
parent108dbfba9a9aae8a3b5ebaab5425e7d08f021ca4 (diff)
downloadnixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar
nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.gz
nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.bz2
nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.lz
nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.xz
nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.tar.zst
nixpkgs-0fea0534611848eb1f4c8c8133ea6ec348e78f0d.zip
Merge pull request #8425 from lihop/add/openpyxl
openpyxl: init at 2.2.4
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 45148de8ac3..6e6e9d4ddc2 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -3446,6 +3446,26 @@ let
     };
   };
 
+  jdcal = buildPythonPackage rec {
+    version = "1.0";
+    name = "jdcal-${version}";
+
+    src = pkgs.fetchFromGitHub {
+      owner = "phn";
+      repo = "jdcal";
+      rev = "v${version}";
+      sha256 = "0jjgrrylraqzk3n97hay4gj00ky6vlvkfaapfgqlbcxyq30j24vq";
+    };
+
+    meta = {
+      description = "A module containing functions for converting between Julian dates and calendar dates";
+      homepage = "https://github.com/phn/jdcal";
+      license = licenses.bsd2;
+      maintainers = with maintainers; [ lihop ];
+      platforms = platforms.all;
+    };
+  };
+
   jsonwatch = buildPythonPackage rec {
     name = "jsonwatch-0.2.0";
 
@@ -8079,6 +8099,27 @@ let
     doCheck = false;
   };
 
+  openpyxl = buildPythonPackage rec {
+    version = "2.2.4";
+    name = "openpyxl-${version}";
+
+    src = pkgs.fetchhg {
+      url = "https://bitbucket.org/openpyxl/openpyxl";
+      rev = "${version}";
+      sha256 = "1g9imbg4sjfyv5sqg2s7h4svhdmbnvq16hvc1a8jpaqq8nc2vjj2";
+    };
+
+    propagatedBuildInputs = with self; [ jdcal ];
+
+    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 ];
+      platforms = platforms.all;
+    };
+  };
+
   # optfunc = buildPythonPackage ( rec {
   #   name = "optfunc-git";
   #