81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
23 lines
719 B
Nix
23 lines
719 B
Nix
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild, ocaml_pcre }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml${ocaml.version}-benchmark";
|
|
version = "1.4";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/Chris00/ocaml-benchmark/releases/download/${version}/benchmark-${version}.tar.gz";
|
|
sha256 = "16wi8ld7c3mq77ylpgbnj8qqqqimyzwxs47v06vyrwpma5pab5xa";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ocaml_pcre ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = "http://ocaml-benchmark.forge.ocamlcore.org/";
|
|
platforms = ocaml.meta.platforms or [];
|
|
description = "Benchmark running times of code";
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = with lib.maintainers; [ volth ];
|
|
};
|
|
}
|