ocamlPackages.{benchmark,obuild,ptmap,rope}: init at 1.4, 0.1.8, 2.0.1, 0.5

This commit is contained in:
Volth
2017-07-04 21:39:37 +00:00
committed by Vincent Laporte
parent f9a2866508
commit 18e3799cd1
6 changed files with 121 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, ocaml_pcre }:
let version = "1.4"; in
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-benchmark-${version}";
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 = stdenv.lib.licenses.lgpl21;
maintainers = with stdenv.lib.maintainers; [ volth ];
};
}