Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
919 B · 30 lines
Nix
12345678910111213141516171819202122232425262728293031{ lib, fetchurl, buildDunePackage,}:
buildDunePackage rec { pname = "benchmark"; version = "1.7";
minimalOCamlVersion = "4.03";
src = fetchurl { url = "https://github.com/Chris00/ocaml-benchmark/releases/download/v${version}/benchmark-${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${version}/CHANGES.md"; license = lib.licenses.lgpl3; maintainers = with lib.maintainers; [ momeemt ]; };}