summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/pcre/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/pcre/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/pcre/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/pcre/default.nix b/pkgs/development/ocaml-modules/pcre/default.nix
index fdc527791c0b..112242e24d6c 100644
--- a/pkgs/development/ocaml-modules/pcre/default.nix
+++ b/pkgs/development/ocaml-modules/pcre/default.nix
@@ -2,16 +2,15 @@
 
 let
   ocaml_version = (builtins.parseDrvName ocaml.name).version;
-  version = "6.1.0";
+  version = "6.2.5";
 in
 
 stdenv.mkDerivation {
   name = "ocaml-pcre-${version}";
 
   src = fetchurl {
-    url = "http://hg.ocaml.info/release/pcre-ocaml/archive/" +
-          "release-${version}.tar.bz2";
-    sha256 = "1lj9mzabi1crxwvb2ly1l10h4hlx0fw20nbnq76bbzzkzabjs4ll";
+    url = "http://www.ocaml.info/ocaml_sources/pcre-ocaml-${version}.tar.gz";
+    sha256 = "f1774028a4525d22d1f4cf4ce0121c99d85a75aed7a498c3e8ab0f5e39888e47";
   };
 
   buildInputs = [pcre ocaml findlib];
@@ -21,7 +20,7 @@ stdenv.mkDerivation {
   configurePhase = "true";	# Skip configure phase
 
   meta = {
-    homepage = "http://www.ocaml.info/home/ocaml_sources.html#pcre-ocaml";
+    homepage = "http://www.ocaml.info/home/ocaml_sources.html";
     description = "An efficient C-library for pattern matching with Perl-style regular expressions in OCaml";
     license = "LGPL";
     platforms = ocaml.meta.platforms;