diff options
author | Marco Maggesi <maggesi@math.unifi.it> | 2011-05-24 18:21:13 +0000 |
---|---|---|
committer | Marco Maggesi <maggesi@math.unifi.it> | 2011-05-24 18:21:13 +0000 |
commit | 5b730d301c5afa87f8e620e8d5fe5f73760fad0e (patch) | |
tree | 8358759486473d86d6e05fbd252d627136b57552 /pkgs/development/ocaml-modules | |
parent | a3b617c8e37a413b050f2fd914f6d24dab64b8d0 (diff) |
Update ocaml_batteries and camomile (ocamlPackages)
* Add camomile 0.8.3 and 0.8.2 (for ocaml_batteries). * Remove obsolete camomile 0.7.3 and 0.8.1. * Update ocaml_batteries to version 1.3.0 (also add fixes for Darwin). svn path=/nixpkgs/trunk/; revision=27299
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/batteries/default.nix | 17 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/camomile/0.8.2.nix (renamed from pkgs/development/ocaml-modules/camomile/0.7.3.nix) | 4 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/camomile/default.nix (renamed from pkgs/development/ocaml-modules/camomile/0.8.1.nix) | 5 |
3 files changed, 20 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/batteries/default.nix b/pkgs/development/ocaml-modules/batteries/default.nix index ce946c3d31fc7..182d4296b6a95 100644 --- a/pkgs/development/ocaml-modules/batteries/default.nix +++ b/pkgs/development/ocaml-modules/batteries/default.nix @@ -2,7 +2,7 @@ let ocaml_version = (builtins.parseDrvName ocaml.name).version; - version = "1.2.0"; + version = "1.3.0"; in stdenv.mkDerivation { @@ -10,13 +10,26 @@ stdenv.mkDerivation { src = fetchurl { url = "http://forge.ocamlcore.org/frs/download.php/423/batteries-${version}.tar.gz"; - sha256 = "0lkkbfj51zkhhr56nx167448pvg02nrzjjkl57ycic2ikzgq6lmx"; + sha256 = "1kf8dyivigavi89lpsz7hzdv48as10yck7gkmqmnsnn1dps3m7an"; }; buildInputs = [ocaml findlib camomile ounit]; + # This option is not correctly detected on Darwin + # It should be fixed in the svn + BATTERIES_NATIVE_SHLIB = if stdenv.isDarwin then "no" else "yes"; + + # Ditto + patchPhase = '' + substituteInPlace Makefile --replace 'echo -n' echo + ''; + configurePhase = "true"; # Skip configure + preInstall = '' + ensureDir "$out/lib/ocaml/${ocaml_version}/site-lib" + ''; + doCheck = true; checkTarget = "test"; diff --git a/pkgs/development/ocaml-modules/camomile/0.7.3.nix b/pkgs/development/ocaml-modules/camomile/0.8.2.nix index 12b816dec36a7..674c6c0367b43 100644 --- a/pkgs/development/ocaml-modules/camomile/0.7.3.nix +++ b/pkgs/development/ocaml-modules/camomile/0.8.2.nix @@ -2,7 +2,7 @@ let ocaml_version = (builtins.parseDrvName ocaml.name).version; - version = "0.7.3"; + version = "0.8.2"; in stdenv.mkDerivation { @@ -10,7 +10,7 @@ stdenv.mkDerivation { src = fetchurl { url = "mirror://sourceforge/camomile/camomile-${version}.tar.bz2"; - sha256 = "0cm3j3ppl15fp597ih3qiagxyg8kpql9apapkqaib2xccc44zb5l"; + sha256 = "0x43pjxx70kgip86mmdn08s97k4qzdqc8i79xfyyx28smy1bsa00"; }; buildInputs = [ocaml findlib]; diff --git a/pkgs/development/ocaml-modules/camomile/0.8.1.nix b/pkgs/development/ocaml-modules/camomile/default.nix index 4a838e99f0bd9..1d4b98bf0e577 100644 --- a/pkgs/development/ocaml-modules/camomile/0.8.1.nix +++ b/pkgs/development/ocaml-modules/camomile/default.nix @@ -2,7 +2,7 @@ let ocaml_version = (builtins.parseDrvName ocaml.name).version; - version = "0.8.1"; + version = "0.8.3"; in stdenv.mkDerivation { @@ -10,7 +10,8 @@ stdenv.mkDerivation { src = fetchurl { url = "mirror://sourceforge/camomile/camomile-${version}.tar.bz2"; - sha256 = "1r84y7wl10zkjmp8qqq2bcmll23qmfczlnykm74hxkig8ksm0g6a"; + #sha256 = "0x43pjxx70kgip86mmdn08s97k4qzdqc8i79xfyyx28smy1bsa00"; + sha256 = "0yzj6j88aqrkbcynqh1d7r54670m1sqf889vdcgk143w85fxdj4l"; }; buildInputs = [ocaml findlib]; |