1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/ounit/default.nix
2020-04-15 15:01:36 +02:00

17 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}'";
}