ocamlmod: 0.0.8 -> 0.0.9
This commit is contained in:
parent
07bc859e9a
commit
0bd108d2ce
@ -1,20 +1,24 @@
|
|||||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocamlmod-${version}";
|
name = "ocamlmod-${version}";
|
||||||
version = "0.0.8";
|
version = "0.0.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://forge.ocamlcore.org/frs/download.php/1544/${name}.tar.gz";
|
url = "https://forge.ocamlcore.org/frs/download.php/1702/ocamlmod-0.0.9.tar.gz";
|
||||||
sha256 = "1w0w8lfyymvk300dv13gvhrddpcyknvyp4g2yvq2vaw7khkhjs9g";
|
sha256 = "0cgp9qqrq7ayyhddrmqmq1affvfqcn722qiakjq4dkywvp67h4aa";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild ];
|
buildInputs = [ ocaml findlib ocamlbuild ounit ];
|
||||||
|
|
||||||
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests";
|
||||||
buildPhase = "ocaml setup.ml -build";
|
buildPhase = "ocaml setup.ml -build";
|
||||||
installPhase = "ocaml setup.ml -install";
|
installPhase = "ocaml setup.ml -install";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
checkPhase = "ocaml setup.ml -test";
|
||||||
|
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user