summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2016-09-25 21:38:07 +0200
committerRobert Helgesson <robert@rycee.net>2016-09-26 22:35:20 +0200
commit0de0d23246e82b0a0785483460cb5747fa08727b (patch)
treef7139116a105806f9604b7dbe8b51b336a7c998a
parent46ff1c385f04cdadb371a3698533aff093097521 (diff)
downloadnixlib-0de0d23246e82b0a0785483460cb5747fa08727b.tar
nixlib-0de0d23246e82b0a0785483460cb5747fa08727b.tar.gz
nixlib-0de0d23246e82b0a0785483460cb5747fa08727b.tar.bz2
nixlib-0de0d23246e82b0a0785483460cb5747fa08727b.tar.lz
nixlib-0de0d23246e82b0a0785483460cb5747fa08727b.tar.xz
nixlib-0de0d23246e82b0a0785483460cb5747fa08727b.tar.zst
nixlib-0de0d23246e82b0a0785483460cb5747fa08727b.zip
python-PyICU: init at 1.9.3
-rw-r--r--pkgs/top-level/python-packages.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 56540965a078..33d63cd24bd1 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -19515,6 +19515,33 @@ in modules // {
     };
   };
 
+  PyICU = buildPythonPackage rec {
+    name = "PyICU-1.9.3";
+
+    src = pkgs.fetchurl {
+      url = "mirror://pypi/P/PyICU/${name}.tar.gz";
+      sha256 = "0hps2314w7ddiwhqgw249m3hgqnny7qn542vz26jxr5k5hhrcyhs";
+    };
+
+    buildInputs = [ pkgs.icu ];
+
+    patches = [
+      # Fixes a bug in the test suite.
+      (pkgs.fetchpatch {
+        url = "https://github.com/ovalhub/pyicu/commit/6ab20d48d85638acb3a811c8676f713bd26f0df9.patch";
+        sha256 = "0z4585r6bi0xxvrr93n450ka43vixx9zd063qna078vck0i3bkjg";
+      })
+    ];
+
+    meta = {
+      homepage = https://pypi.python.org/pypi/PyICU/;
+      description = "Python extension wrapping the ICU C++ API";
+      license = licenses.mit;
+      platforms = platforms.all;
+      maintainers = [ maintainers.rycee ];
+    };
+  };
+
   pyinotify = buildPythonPackage rec {
     name = "pyinotify";
     version = "0.9.6";