From 8553d212c700ff7be614c50f553b20c7abdd114e Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 4 Apr 2015 20:18:28 +0200 Subject: [PATCH] ocaml-stringext: update from 1.2.0 to 1.3.0 --- pkgs/development/ocaml-modules/stringext/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/ocaml-modules/stringext/default.nix b/pkgs/development/ocaml-modules/stringext/default.nix index dde2b0ebe45..dae947035d2 100644 --- a/pkgs/development/ocaml-modules/stringext/default.nix +++ b/pkgs/development/ocaml-modules/stringext/default.nix @@ -1,14 +1,13 @@ -{ stdenv, fetchgit, ocaml, findlib }: +{ stdenv, fetchzip, ocaml, findlib }: -let version = "1.2.0"; in +let version = "1.3.0"; in stdenv.mkDerivation { name = "ocaml-stringext-${version}"; - src = fetchgit { - url = https://github.com/rgrinberg/stringext.git; - rev = "refs/tags/v${version}"; - sha256 = "04ixh33225n2fyc0i35pk7h9shxfdg9grhvkxy086zppki3a3vc6"; + src = fetchzip { + url = "https://github.com/rgrinberg/stringext/archive/v${version}.tar.gz"; + sha256 = "0sd1chyxclmip0nxqhasp1ri91bwxr8nszkkr5kpja45f6bav6k9"; }; buildInputs = [ ocaml findlib ];