Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "inferno";
|
|
version = "0.12.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jonhoo";
|
|
repo = "inferno";
|
|
tag = "v${version}";
|
|
hash = "sha256-D72rkTnUgLJRHFEDoUwQDLQJAPGyqmxhf6hmNJGUl+U=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cargoHash = "sha256-Gc31yyspU7RYDQDpVvq+UhMnE7t4HQ65fSGu9eDN6C0=";
|
|
|
|
# skip flaky tests
|
|
checkFlags = [
|
|
"--skip=collapse::dtrace::tests::test_collapse_multi_dtrace"
|
|
"--skip=collapse::dtrace::tests::test_collapse_multi_dtrace_simple"
|
|
"--skip=collapse::perf::tests::test_collapse_multi_perf"
|
|
"--skip=collapse::perf::tests::test_collapse_multi_perf_simple"
|
|
"--skip=flamegraph_base_symbol"
|
|
"--skip=flamegraph_multiple_base_symbol"
|
|
];
|
|
|
|
meta = {
|
|
description = "Port of parts of the flamegraph toolkit to Rust";
|
|
homepage = "https://github.com/jonhoo/inferno";
|
|
changelog = "https://github.com/jonhoo/inferno/blob/v${version}/CHANGELOG.md";
|
|
license = lib.licenses.cddl;
|
|
maintainers = with lib.maintainers; [ figsoda ];
|
|
};
|
|
}
|