Files
nixpkgs/pkgs/development/ocaml-modules/benchmark/default.nix
Marcin Serwin c1b9d04d9c maintainers: drop momeemt
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-06-04 12:05:36 +02:00

31 lines
932 B
Nix

{
lib,
fetchurl,
buildDunePackage,
}:
buildDunePackage (finalAttrs: {
pname = "benchmark";
version = "1.7";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/Chris00/ocaml-benchmark/releases/download/v${finalAttrs.version}/benchmark-${finalAttrs.version}.tbz";
hash = "sha256-Aij7vJzamNWQfjLeGgENlIp6Il8+Wc9hsahr4eDGs68=";
};
meta = {
homepage = "https://github.com/Chris00/ocaml-benchmark";
description = "Benchmark running times of code";
longDescription = ''
This module provides a set of tools to measure the running times of
your functions and to easily compare the results. A statistical test
is used to determine whether the results truly differ.
'';
changelog = "https://raw.githubusercontent.com/Chris00/ocaml-benchmark/refs/tags/v${finalAttrs.version}/CHANGES.md";
license = lib.licenses.lgpl3;
maintainers = [ ];
};
})