3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #213034 from figsoda/inferno

inferno: 0.11.7 -> 0.11.14
This commit is contained in:
Weijia Wang 2023-01-28 03:58:28 +01:00 committed by GitHub
commit 03c9c3e544
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,23 @@
{ fetchCrate, lib, rustPlatform }:
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "inferno";
version = "0.11.7";
version = "0.11.14";
# github version doesn't have a Cargo.lock
src = fetchCrate {
inherit pname version;
sha256 = "sha256-HZBCLgWC9yEo3lY7If18SILKZV3rwHv7FBVdumiTbJg=";
src = fetchFromGitHub {
owner = "jonhoo";
repo = pname;
rev = "v${version}";
hash = "sha256-0H+h4BM4x3vlI6EMeXNzcCQpW2S4czJR2GaviZ0nhEM=";
fetchSubmodules = true;
};
cargoSha256 = "sha256-upO+G9569NXFuc2vpxR6E4nxJqCjg+RMlxV7oKb7v1E=";
cargoHash = "sha256-5VQNgZUgakQUczKs7T+c305c3I1DDSaVMO3tFXqIdIc=";
# these tests depend on a patched version of flamegraph which is included in
# the github repository as a submodule, but absent from the crates version
# 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=collapse::perf::tests::test_multiple_skip_after"
"--skip=collapse::perf::tests::test_one_skip_after"
"--skip=flamegraph_base_symbol"
"--skip=flamegraph_multiple_base_symbol"
];
meta = with lib; {