8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
16 lines
364 B
Nix
16 lines
364 B
Nix
{ stdenv, ocaml, findlib, ounit2 }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "ocaml${ocaml.version}-ounit";
|
|
inherit (ounit2) version src meta;
|
|
|
|
buildInputs = [ findlib ];
|
|
propagatedBuildInputs = [ ounit2 ];
|
|
|
|
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
installTargets = "install-ounit version='${ounit2.version}'";
|
|
|
|
}
|