ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
26 lines
644 B
Nix
26 lines
644 B
Nix
{ lib, buildOcaml, ocaml, fetchFromGitHub, ounit }:
|
|
|
|
if lib.versionAtLeast ocaml.version "4.06"
|
|
then throw "pa_ounit is not available for OCaml ${ocaml.version}"
|
|
else
|
|
|
|
buildOcaml rec {
|
|
pname = "pa_ounit";
|
|
version = "113.00.00";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janestreet";
|
|
repo = "pa_ounit";
|
|
rev = version;
|
|
sha256 = "sha256-zzXN+mSJtlnQ3e1QoEukCiyfDEoe8cBdkAQ3U1dkvEk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ounit ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/janestreet/pa_ounit";
|
|
description = "OCaml inline testing";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
};
|
|
}
|