mirror of
https://codeberg.org/icewind/mill-scale.git
synced 2026-06-03 09:54:19 +02:00
29 lines
733 B
Nix
29 lines
733 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "iai-callgrind-runner";
|
|
version = "0.15.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iai-callgrind";
|
|
repo = "iai-callgrind";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-yOsO1qSkZ4OsAbdS6IqbY9bX6p3JPSxOuHa3W4UoPX8=";
|
|
};
|
|
|
|
cargoHash = "sha256-HvcSfLvZFJtkVFeu8DL2+e7PddJz/jJwh9aUtAV7gFY=";
|
|
|
|
buildAndTestSubdir = "iai-callgrind-runner";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "High-precision and consistent benchmarking framework/harness for Rust";
|
|
homepage = "https://github.com/iai-callgrind/iai-callgrind";
|
|
license = licenses.mit;
|
|
mainProgram = "iai-callgrind-runner";
|
|
};
|
|
})
|