Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 30 lines 820 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "inferno"; 5 version = "0.11.15"; 6 7 src = fetchFromGitHub { 8 owner = "jonhoo"; 9 repo = pname; 10 rev = "v${version}"; 11 hash = "sha256-fyTsB+1ftol3prNLydT/coLchip1vijmfLLt3/DnBbc="; 12 fetchSubmodules = true; 13 }; 14 15 cargoHash = "sha256-XBah55xfbWjQrkupebZE2uiveFhh/R0BF1KEKkY5Hx8="; 16 17 # skip flaky tests 18 checkFlags = [ 19 "--skip=flamegraph_base_symbol" 20 "--skip=flamegraph_multiple_base_symbol" 21 ]; 22 23 meta = with lib; { 24 description = "A port of parts of the flamegraph toolkit to Rust"; 25 homepage = "https://github.com/jonhoo/inferno"; 26 changelog = "https://github.com/jonhoo/inferno/blob/v${version}/CHANGELOG.md"; 27 license = licenses.cddl; 28 maintainers = with maintainers; [ figsoda ]; 29 }; 30}