mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
ocamlPackages.ppx_bench: init at 113.33.00+4.03
This commit is contained in:
parent
b4abe046d7
commit
654dd0aa96
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||
, ppx_tools, ppx_inline_test
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-ppx_bench-113.33.00+4.03";
|
||||
src = fetchurl {
|
||||
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/ppx_bench-113.33.00+4.03.tar.gz;
|
||||
sha256 = "00iv0p3cni4r7iimwm04bjg2hzvlvdb0b1kynjw2xav64xc29q01";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild opam ppx_tools ];
|
||||
propagatedBuildInputs = [ ppx_inline_test ];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -588,7 +588,10 @@ let
|
||||
then callPackage ../development/ocaml-modules/janestreet/ppx_inline_test-113_33_00.nix {}
|
||||
else callPackage ../development/ocaml-modules/janestreet/ppx-inline-test.nix {};
|
||||
|
||||
ppx_bench = callPackage ../development/ocaml-modules/janestreet/ppx-bench.nix {};
|
||||
ppx_bench =
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/ppx_bench-113_33_00.nix {}
|
||||
else callPackage ../development/ocaml-modules/janestreet/ppx-bench.nix {};
|
||||
|
||||
ppx_bin_prot = callPackage ../development/ocaml-modules/janestreet/ppx-bin-prot.nix {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user