biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / inferno / default.nix
blobd9490abad536ed8200b52e35eba22d0a88cd8ec1
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "inferno";
5   version = "0.11.18";
7   src = fetchFromGitHub {
8     owner = "jonhoo";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-JP0n1sepH9kFOdrKTmt7Q79pe4GQInYKQH3xi2/G59s=";
12     fetchSubmodules = true;
13   };
15   cargoHash = "sha256-YCa4WL2sgdITKfdfH3PGdiRHbSkE6JSJRHipaN00GwA=";
17   # skip flaky tests
18   checkFlags = [
19     "--skip=collapse::dtrace::tests::test_collapse_multi_dtrace"
20     "--skip=collapse::dtrace::tests::test_collapse_multi_dtrace_simple"
21     "--skip=collapse::perf::tests::test_collapse_multi_perf"
22     "--skip=collapse::perf::tests::test_collapse_multi_perf_simple"
23     "--skip=flamegraph_base_symbol"
24     "--skip=flamegraph_multiple_base_symbol"
25   ];
27   meta = with lib; {
28     description = "A port of parts of the flamegraph toolkit to Rust";
29     homepage = "https://github.com/jonhoo/inferno";
30     changelog = "https://github.com/jonhoo/inferno/blob/v${version}/CHANGELOG.md";
31     license = licenses.cddl;
32     maintainers = with maintainers; [ figsoda ];
33   };