3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/ounit/default.nix

17 lines
364 B
Nix
Raw Normal View History

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