mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
32ec634ced
Diff: https://github.com/jonhoo/inferno/compare/v0.11.16...v0.11.17 Changelog: https://github.com/jonhoo/inferno/blob/v0.11.17/CHANGELOG.md
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "inferno";
|
|
version = "0.11.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jonhoo";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-RDxHQgKVMqTFjiuxF87l4OXcAG9zIG8Xr0cnp/0J4Wg=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cargoHash = "sha256-wQLECnW+z62okJKpebNvUeRCiUfbuHCou1/uhO8gH+0=";
|
|
|
|
# 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 = "A 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 ];
|
|
};
|
|
}
|