Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 domain-local-await, 6 mtime, 7 multicore-magic, 8 yojson, 9}: 10 11buildDunePackage rec { 12 pname = "multicore-bench"; 13 version = "0.1.4"; 14 15 src = fetchurl { 16 url = "https://github.com/ocaml-multicore/multicore-bench/releases/download/${version}/multicore-bench-${version}.tbz"; 17 hash = "sha256-iCx5QvhYo/e53cW23Sza2as4aez4HeESVvLPF1DW85A="; 18 }; 19 20 propagatedBuildInputs = [ 21 domain-local-await 22 mtime 23 multicore-magic 24 yojson 25 ]; 26 27 meta = { 28 description = "Framework for writing multicore benchmark executables to run on current-bench"; 29 homepage = "https://github.com/ocaml-multicore/multicore-bench"; 30 license = lib.licenses.isc; 31 maintainers = [ lib.maintainers.vbgl ]; 32 }; 33}