add gungraun tooling

This commit is contained in:
Robin Appelman 2026-08-01 17:05:41 +02:00
commit e6d7778ce2
5 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gungraun-runner";
version = "0.19.4";
src = fetchFromGitHub {
owner = "gungraun";
repo = "gungraun";
rev = "v${finalAttrs.version}";
hash = "sha256-KWQ4wMNIdKY9FTmPd9ZdlSuCpQQBFhIKD2Ereo3JQaI=";
};
cargoHash = "sha256-+3toaUDLCmExC3EvNv1GEdUbHSBeShurp2Y+zvE/t0k=";
buildAndTestSubdir = "gungraun-runner";
doCheck = false;
meta = with lib; {
description = "High-precision and consistent benchmarking framework/harness for Rust";
homepage = "https://github.com/gungraun/gungraun";
license = licenses.mit;
mainProgram = "gungraun-runner";
};
})