lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocamlmod: 0.0.8 -> 0.0.9

+10 -6
+10 -6
pkgs/development/tools/ocaml/ocamlmod/default.nix
··· 1 - { stdenv, fetchurl, ocaml, findlib, ocamlbuild }: 1 + { stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ocamlmod-${version}"; 5 - version = "0.0.8"; 5 + version = "0.0.9"; 6 6 7 7 src = fetchurl { 8 - url = "http://forge.ocamlcore.org/frs/download.php/1544/${name}.tar.gz"; 9 - sha256 = "1w0w8lfyymvk300dv13gvhrddpcyknvyp4g2yvq2vaw7khkhjs9g"; 8 + url = "https://forge.ocamlcore.org/frs/download.php/1702/ocamlmod-0.0.9.tar.gz"; 9 + sha256 = "0cgp9qqrq7ayyhddrmqmq1affvfqcn722qiakjq4dkywvp67h4aa"; 10 10 }; 11 11 12 - buildInputs = [ ocaml findlib ocamlbuild ]; 12 + buildInputs = [ ocaml findlib ocamlbuild ounit ]; 13 13 14 - configurePhase = "ocaml setup.ml -configure --prefix $out"; 14 + configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests"; 15 15 buildPhase = "ocaml setup.ml -build"; 16 16 installPhase = "ocaml setup.ml -install"; 17 + 18 + doCheck = true; 19 + 20 + checkPhase = "ocaml setup.ml -test"; 17 21 18 22 dontStrip = true; 19 23