diff --git a/pkgs/development/tools/misc/strace-analyzer/default.nix b/pkgs/development/tools/misc/strace-analyzer/default.nix new file mode 100644 index 000000000000..95b1a5cc12a8 --- /dev/null +++ b/pkgs/development/tools/misc/strace-analyzer/default.nix @@ -0,0 +1,28 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, strace +}: + +rustPlatform.buildRustPackage rec { + pname = "strace-analyzer"; + version = "0.5.1"; + + src = fetchFromGitHub { + owner = "wookietreiber"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-ICUXedWg7ZT2Uzk7ZLpFqoEXiG4AzvkwCndR2aHKjVI="; + }; + + cargoSha256 = "sha256-p/HYG/KaHtvgvAd+eg1fKmDnLoWCL+XiT66jRBU2xRE="; + + checkInputs = [ strace ]; + + meta = with lib; { + description = "Analyzes strace output"; + homepage = "https://github.com/wookietreiber/strace-analyzer"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c07dc208d932..9b5f1c5040a0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17719,6 +17719,8 @@ with pkgs; strace = callPackage ../development/tools/misc/strace { }; + strace-analyzer = callPackage ../development/tools/misc/strace-analyzer { }; + stylua = callPackage ../development/tools/stylua { }; summon = callPackage ../development/tools/summon { };