forked from mirrors/nixpkgs
commit
7203a0e94c
|
@ -1,4 +1,4 @@
|
||||||
{ buildOcaml, opam, js_build_tools, ocaml_oasis, fetchurl } :
|
{ buildOcaml, opam, js_build_tools, ocaml_oasis_46, fetchurl } :
|
||||||
|
|
||||||
{ name, version ? "113.33.03", buildInputs ? [],
|
{ name, version ? "113.33.03", buildInputs ? [],
|
||||||
hash ? "",
|
hash ? "",
|
||||||
|
@ -14,7 +14,7 @@ buildOcaml (args // {
|
||||||
|
|
||||||
hasSharedObjects = true;
|
hasSharedObjects = true;
|
||||||
|
|
||||||
buildInputs = [ ocaml_oasis js_build_tools opam ] ++ buildInputs;
|
buildInputs = [ ocaml_oasis_46 js_build_tools opam ] ++ buildInputs;
|
||||||
|
|
||||||
dontAddPrefix = true;
|
dontAddPrefix = true;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, buildOcaml, fetchurl, ocaml_oasis, opam}:
|
{stdenv, buildOcaml, fetchurl, ocaml_oasis_46, opam}:
|
||||||
|
|
||||||
buildOcaml rec {
|
buildOcaml rec {
|
||||||
name = "js-build-tools";
|
name = "js-build-tools";
|
||||||
|
@ -13,7 +13,7 @@ buildOcaml rec {
|
||||||
|
|
||||||
hasSharedObjects = true;
|
hasSharedObjects = true;
|
||||||
|
|
||||||
buildInputs = [ ocaml_oasis opam ];
|
buildInputs = [ ocaml_oasis_46 opam ];
|
||||||
|
|
||||||
dontAddPrefix = true;
|
dontAddPrefix = true;
|
||||||
configurePhase = "./configure --prefix $prefix";
|
configurePhase = "./configure --prefix $prefix";
|
||||||
|
|
34
pkgs/development/tools/ocaml/oasis/0.4.6.nix
Normal file
34
pkgs/development/tools/ocaml/oasis/0.4.6.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{stdenv, fetchurl, ocaml, findlib, ocaml_data_notation, type_conv, camlp4,
|
||||||
|
ocamlmod, ocamlify, ounit, expect}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml-oasis-0.4.6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://forge.ocamlcore.org/frs/download.php/1604/oasis-0.4.6.tar.gz;
|
||||||
|
sha256 = "1yxv3ckkf87nz0cyll0yy1kd295j5pv3jqwkfrr1y65wkz5vw90k";
|
||||||
|
};
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[
|
||||||
|
ocaml findlib type_conv ocamlmod ocamlify ounit camlp4
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ ocaml_data_notation ];
|
||||||
|
|
||||||
|
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
||||||
|
buildPhase = "ocaml setup.ml -build";
|
||||||
|
installPhase = "ocaml setup.ml -install";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://oasis.forge.ocamlcore.org/;
|
||||||
|
description = "Configure, build and install system for OCaml projects";
|
||||||
|
license = licenses.lgpl21;
|
||||||
|
platforms = ocaml.meta.platforms or [];
|
||||||
|
maintainers = with maintainers; [
|
||||||
|
vbgl z77z
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,11 +2,11 @@
|
||||||
ocamlmod, ocamlify, ounit, expect}:
|
ocamlmod, ocamlify, ounit, expect}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-oasis-0.4.6";
|
name = "ocaml-oasis-0.4.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://forge.ocamlcore.org/frs/download.php/1604/oasis-0.4.6.tar.gz;
|
url = http://forge.ocamlcore.org/frs/download.php/1635/oasis-0.4.6.tar.gz;
|
||||||
sha256 = "1yxv3ckkf87nz0cyll0yy1kd295j5pv3jqwkfrr1y65wkz5vw90k";
|
sha256 = "13crvqiy0hhlnm4qfyxq2jjvs11ldxf15c4g9q91k1x3wj04pg2l";
|
||||||
};
|
};
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
|
@ -5366,6 +5366,7 @@ in
|
||||||
ocamlnet = callPackage ../development/ocaml-modules/ocamlnet { };
|
ocamlnet = callPackage ../development/ocaml-modules/ocamlnet { };
|
||||||
|
|
||||||
ocaml_oasis = callPackage ../development/tools/ocaml/oasis { };
|
ocaml_oasis = callPackage ../development/tools/ocaml/oasis { };
|
||||||
|
ocaml_oasis_46 = callPackage ../development/tools/ocaml/oasis/0.4.6.nix { };
|
||||||
|
|
||||||
ocaml_optcomp = callPackage ../development/ocaml-modules/optcomp { };
|
ocaml_optcomp = callPackage ../development/ocaml-modules/optcomp { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue