2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, ocaml, findlib, ounit2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "ocaml${ocaml.version}-ounit";
|
|
|
|
inherit (ounit2) version src meta;
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ findlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ ounit2 ];
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2021-08-08 23:34:03 +00:00
|
|
|
dontBuild = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
installTargets = "install-ounit version='${ounit2.version}'";
|
|
|
|
|
|
|
|
}
|