ocamlPackages.camlp5: 8.00.05 → 8.02.1

authored by Vincent Laporte and committed by Vincent Laporte c60d7e0c 4800982f

+4 -11
+4 -11
pkgs/development/tools/ocaml/camlp5/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, ocaml, findlib, perl, makeWrapper 2 - , rresult, bos, ocaml_pcre, re, camlp-streams 2 + , rresult, bos, re, camlp-streams 3 3 , legacy ? false 4 4 }: 5 5 ··· 10 10 let params = 11 11 if lib.versionAtLeast ocaml.version "4.12" && !legacy 12 12 then rec { 13 - version = "8.00.05"; 13 + version = "8.02.01"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "camlp5"; 17 17 repo = "camlp5"; 18 18 rev = version; 19 - hash = "sha256-Havr3RB6iUP7QzV+LUGwMHtGzmRdS5RqYsqJ0N5w6gE="; 19 + hash = "sha256-qSA2559vqWLU+0ns7LPUGI2K5f8sfu+QQ0sCH8sR6To="; 20 20 }; 21 21 22 22 nativeBuildInputs = [ makeWrapper ocaml findlib perl ]; 23 - buildInputs = [ bos ocaml_pcre re rresult ]; 23 + buildInputs = [ bos re rresult ]; 24 24 propagatedBuildInputs = [ camlp-streams ]; 25 25 26 - postFixup = '' 27 - for p in camlp5 camlp5o camlp5r camlp5sch mkcamlp5 ocpp5 28 - do 29 - wrapProgram $out/bin/$p \ 30 - --suffix CAML_LD_LIBRARY_PATH : ${ocaml_pcre}/lib/ocaml/${ocaml.version}/site-lib/stublibs 31 - done 32 - ''; 33 26 } else rec { 34 27 version = "7.14"; 35 28 src = fetchFromGitHub {