depot/third_party/nixpkgs/pkgs/development/tools/misc/strace-analyzer/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

34 lines
820 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; [ figsoda ];
};
}