ocamlPackages.benchmark: 1.4 → 1.6

This commit is contained in:
Vincent Laporte 2023-05-31 11:45:22 +02:00
parent d74ed5ebb0
commit e5e2b16a89
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,26 +1,17 @@
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild, ocaml_pcre }: { lib, fetchurl, buildDunePackage }:
stdenv.mkDerivation rec { buildDunePackage rec {
pname = "ocaml${ocaml.version}-benchmark"; pname = "benchmark";
version = "1.4"; version = "1.6";
src = fetchzip { src = fetchurl {
url = "https://github.com/Chris00/ocaml-benchmark/releases/download/${version}/benchmark-${version}.tar.gz"; url = "https://github.com/Chris00/ocaml-benchmark/releases/download/${version}/benchmark-${version}.tbz";
sha256 = "16wi8ld7c3mq77ylpgbnj8qqqqimyzwxs47v06vyrwpma5pab5xa"; hash = "sha256-Mw19cYya/MEy52PVRYE/B6TnqCWw5tEz9CUrUfKAnPA=";
}; };
strictDeps = true;
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
buildInputs = [ ocaml_pcre ];
createFindlibDestdir = true;
meta = { meta = {
homepage = "http://ocaml-benchmark.forge.ocamlcore.org/"; homepage = "https://github.com/Chris00/ocaml-benchmark";
inherit (ocaml.meta) platforms;
description = "Benchmark running times of code"; description = "Benchmark running times of code";
license = lib.licenses.lgpl21; license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ ];
}; };
} }