depot/third_party/nixpkgs/pkgs/development/tools/inferno/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

34 lines
1.1 KiB
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "inferno";
version = "0.11.21";
src = fetchFromGitHub {
owner = "jonhoo";
repo = pname;
rev = "v${version}";
hash = "sha256-/tFbizGsgrmeTfd3W6BhVOX8BvOuakWqReQ1vQ0lrjw=";
fetchSubmodules = true;
};
cargoHash = "sha256-BoRlKD34c9RZz9fYMgxTbsbU9XL724PG+CVh9G/tl0M=";
# 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 = with lib; {
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 = licenses.cddl;
maintainers = with maintainers; [ figsoda ];
};
}