From a6af1e96de75868bd649a8112031437c3cdc8ec4 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 24 Sep 2014 08:59:08 +0100 Subject: [PATCH 1/3] Updates camlp5 6.11 -> 6.12 --- pkgs/development/tools/ocaml/camlp5/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/ocaml/camlp5/default.nix b/pkgs/development/tools/ocaml/camlp5/default.nix index 8691e1b9d111..1c811b217585 100644 --- a/pkgs/development/tools/ocaml/camlp5/default.nix +++ b/pkgs/development/tools/ocaml/camlp5/default.nix @@ -7,11 +7,11 @@ in stdenv.mkDerivation { - name = "camlp5${if transitional then "_transitional" else ""}-6.11"; + name = "camlp5${if transitional then "_transitional" else ""}-6.12"; src = fetchurl { - url = http://pauillac.inria.fr/~ddr/camlp5/distrib/src/camlp5-6.11.tgz; - sha256 = "0dxb5id6imq502sic75l786q94dhplqx6yyhjkkw19kf64fiqlk5"; + url = http://camlp5.gforge.inria.fr/distrib/src/camlp5-6.12.tgz; + sha256 = "00jwgp6w4g64lfqjx77xziy532091fy00c42fsy0b4i892rch5mp"; }; buildInputs = [ ocaml ]; @@ -25,17 +25,17 @@ stdenv.mkDerivation { postInstall = "cp ${metafile} $out/lib/ocaml/${ocaml_version}/site-lib/camlp5/META"; - meta = { + meta = with stdenv.lib; { description = "Preprocessor-pretty-printer for OCaml"; longDescription = '' Camlp5 is a preprocessor and pretty-printer for OCaml programs. It also provides parsing and printing tools. ''; homepage = http://pauillac.inria.fr/~ddr/camlp5/; - license = stdenv.lib.licenses.bsd3; + license = licenses.bsd3; platforms = ocaml.meta.platforms; - maintainers = [ - stdenv.lib.maintainers.z77z + maintainers = with maintainers; [ + z77z vbgl ]; }; } From c260abbff8c0e153a5ac467063751de0497eb23c Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 30 Sep 2014 09:41:02 +0100 Subject: [PATCH 2/3] hol_light: update to r199 And adds compatibility with camlp5-6.12 --- .../science/logic/hol_light/Makefile.patch | 13 +++++++++++++ .../science/logic/hol_light/default.nix | 8 +++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 pkgs/applications/science/logic/hol_light/Makefile.patch diff --git a/pkgs/applications/science/logic/hol_light/Makefile.patch b/pkgs/applications/science/logic/hol_light/Makefile.patch new file mode 100644 index 000000000000..ae521004f338 --- /dev/null +++ b/pkgs/applications/science/logic/hol_light/Makefile.patch @@ -0,0 +1,13 @@ +Index: Makefile +=================================================================== +--- /Makefile (révision 199) ++++ /Makefile (copie de travail) +@@ -59,7 +59,7 @@ + then cp pa_j_3.1x_6.02.1.ml pa_j.ml; \ + else if test ${CAMLP5_VERSION} = "6.02.2" -o ${CAMLP5_VERSION} = "6.02.3" -o ${CAMLP5_VERSION} = "6.03" -o ${CAMLP5_VERSION} = "6.04" -o ${CAMLP5_VERSION} = "6.05" -o ${CAMLP5_VERSION} = "6.06" ; \ + then cp pa_j_3.1x_6.02.2.ml pa_j.ml; \ +- else if test ${CAMLP5_VERSION} = "6.06" -o ${CAMLP5_VERSION} = "6.07" -o ${CAMLP5_VERSION} = "6.08" -o ${CAMLP5_VERSION} = "6.09" -o ${CAMLP5_VERSION} = "6.10" -o ${CAMLP5_VERSION} = "6.11" ; \ ++ else if test ${CAMLP5_VERSION} = "6.06" -o ${CAMLP5_VERSION} = "6.07" -o ${CAMLP5_VERSION} = "6.08" -o ${CAMLP5_VERSION} = "6.09" -o ${CAMLP5_VERSION} = "6.10" -o ${CAMLP5_VERSION} = "6.11" -o ${CAMLP5_VERSION} = "6.12" ; \ + then cp pa_j_3.1x_6.11.ml pa_j.ml; \ + else cp pa_j_3.1x_${CAMLP5_BINARY_VERSION}.xx.ml pa_j.ml; \ + fi \ diff --git a/pkgs/applications/science/logic/hol_light/default.nix b/pkgs/applications/science/logic/hol_light/default.nix index a3c49ab294e9..9b8f25cab779 100644 --- a/pkgs/applications/science/logic/hol_light/default.nix +++ b/pkgs/applications/science/logic/hol_light/default.nix @@ -10,16 +10,18 @@ in stdenv.mkDerivation rec { name = "hol_light-${version}"; - version = "198"; + version = "199"; src = fetchsvn { url = http://hol-light.googlecode.com/svn/trunk; rev = version; - sha256 = "1y7vivj5l84fb7wqn38qbykpgs8ql2gmqxxch1yn5mg1cf9iiqsx"; + sha256 = "0308nw91iww18wvl30g5ygf6lhw329jh1vqi9hsh30inhb3dx3jw"; }; buildInputs = [ ocaml findlib camlp5 ]; + patches = [ ./Makefile.patch ]; + installPhase = '' mkdir -p "$out/lib/hol_light" "$out/bin" cp -a . $out/lib/hol_light @@ -32,6 +34,6 @@ stdenv.mkDerivation rec { homepage = http://www.cl.cam.ac.uk/~jrh13/hol-light/; license = licenses.bsd2; platforms = platforms.unix; - maintainers = with maintainers; [ thoughtpolice z77z ]; + maintainers = with maintainers; [ thoughtpolice z77z vbgl ]; }; } From 01c6d8569fdc176bdcbc7894e932bbcb6d4b6277 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 1 Oct 2014 18:39:31 +0100 Subject: [PATCH 3/3] coq-containers: package is broken --- pkgs/development/coq-modules/containers/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/coq-modules/containers/default.nix b/pkgs/development/coq-modules/containers/default.nix index 9856ba6955fe..8c20d64d8c7d 100644 --- a/pkgs/development/coq-modules/containers/default.nix +++ b/pkgs/development/coq-modules/containers/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { description = "A typeclass-based Coq library of finite sets/maps"; maintainers = with maintainers; [ vbgl ]; platforms = coq.meta.platforms; + broken = true; /* the source hash is wrong */ }; }