depot/third_party/nixpkgs/pkgs/development/tools/misc/strace-analyzer/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

34 lines
828 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, strace
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "strace-analyzer";
version = "0.5.2";
src = fetchFromGitHub {
owner = "wookietreiber";
repo = pname;
rev = "v${version}";
sha256 = "sha256-wx0/Jb2uaS1qdRQymfE00IEOyfgLtD4lXYasaJgcoxo=";
};
cargoHash = "sha256-3OS3LEEk58+IJDQrgwo+BJq6hblojk22QxDtZY5ofA4=";
nativeCheckInputs = [ strace ];
checkFlags = lib.optionals stdenv.isAarch64 [
# thread 'analysis::tests::analyze_dd' panicked at 'assertion failed: ...'
"--skip=analysis::tests::analyze_dd"
];
meta = with lib; {
description = "Analyzes strace output";
homepage = "https://github.com/wookietreiber/strace-analyzer";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}