nixpkgs/pkgs/development/ocaml-modules/multicore-bench/default.nix
2024-08-30 13:55:37 +02:00

23 lines
722 B
Nix

{ lib, buildDunePackage, fetchurl
, domain-local-await, mtime, multicore-magic, yojson
}:
buildDunePackage rec {
pname = "multicore-bench";
version = "0.1.4";
src = fetchurl {
url = "https://github.com/ocaml-multicore/multicore-bench/releases/download/${version}/multicore-bench-${version}.tbz";
hash = "sha256-iCx5QvhYo/e53cW23Sza2as4aez4HeESVvLPF1DW85A=";
};
propagatedBuildInputs = [ domain-local-await mtime multicore-magic yojson ];
meta = {
description = "Framework for writing multicore benchmark executables to run on current-bench";
homepage = "https://github.com/ocaml-multicore/multicore-bench";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}