nixpkgs-suyu/pkgs/development/ocaml-modules/ounit/default.nix

17 lines
364 B
Nix
Raw Normal View History

2020-04-13 16:42:14 +02:00
{ stdenv, ocaml, findlib, ounit2 }:
stdenv.mkDerivation {
2020-04-13 16:42:14 +02:00
pname = "ocaml${ocaml.version}-ounit";
inherit (ounit2) version src meta;
buildInputs = [ findlib ];
2020-04-13 16:42:14 +02:00
propagatedBuildInputs = [ ounit2 ];
2020-04-13 16:42:14 +02:00
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
createFindlibDestdir = true;
2020-04-13 16:42:14 +02:00
installTargets = "install-ounit version='${ounit2.version}'";
}