diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2023-11-13 06:18:08 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-11-20 07:03:45 +0100 |
commit | c60d7e0c77b281edd12ceab4f2f889ed67cfb836 (patch) | |
tree | 517f5833c5d80a9282c246ad14947eeba6244467 /pkgs/development/tools/ocaml | |
parent | 4800982f99ee920c648672edb6fced33de2d9aea (diff) |
ocamlPackages.camlp5: 8.00.05 → 8.02.1
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/camlp5/default.nix | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/pkgs/development/tools/ocaml/camlp5/default.nix b/pkgs/development/tools/ocaml/camlp5/default.nix index 02355cb9846c6..d0308f31f7eef 100644 --- a/pkgs/development/tools/ocaml/camlp5/default.nix +++ b/pkgs/development/tools/ocaml/camlp5/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchFromGitHub, ocaml, findlib, perl, makeWrapper -, rresult, bos, ocaml_pcre, re, camlp-streams +, rresult, bos, re, camlp-streams , legacy ? false }: @@ -10,26 +10,19 @@ else let params = if lib.versionAtLeast ocaml.version "4.12" && !legacy then rec { - version = "8.00.05"; + version = "8.02.01"; src = fetchFromGitHub { owner = "camlp5"; repo = "camlp5"; rev = version; - hash = "sha256-Havr3RB6iUP7QzV+LUGwMHtGzmRdS5RqYsqJ0N5w6gE="; + hash = "sha256-qSA2559vqWLU+0ns7LPUGI2K5f8sfu+QQ0sCH8sR6To="; }; nativeBuildInputs = [ makeWrapper ocaml findlib perl ]; - buildInputs = [ bos ocaml_pcre re rresult ]; + buildInputs = [ bos re rresult ]; propagatedBuildInputs = [ camlp-streams ]; - postFixup = '' - for p in camlp5 camlp5o camlp5r camlp5sch mkcamlp5 ocpp5 - do - wrapProgram $out/bin/$p \ - --suffix CAML_LD_LIBRARY_PATH : ${ocaml_pcre}/lib/ocaml/${ocaml.version}/site-lib/stublibs - done - ''; } else rec { version = "7.14"; src = fetchFromGitHub { |