fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / in / inferno / package.nix
blob366bc42727b32e6d7fb906927ed807b44bbd225f
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "inferno";
5   version = "0.11.21";
7   src = fetchFromGitHub {
8     owner = "jonhoo";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-/tFbizGsgrmeTfd3W6BhVOX8BvOuakWqReQ1vQ0lrjw=";
12     fetchSubmodules = true;
13   };
15   cargoHash = "sha256-BoRlKD34c9RZz9fYMgxTbsbU9XL724PG+CVh9G/tl0M=";
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 = "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   };