diff --git a/pkgs/development/ocaml-modules/stringext/default.nix b/pkgs/development/ocaml-modules/stringext/default.nix index dde2b0ebe45c..dae947035d25 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 ];