From 48d9ef212d127eebd222c1db94e066d710d8b3ed Mon Sep 17 00:00:00 2001 From: cloudripper <70971768+cloudripper@users.noreply.github.com> Date: Tue, 12 Nov 2024 07:25:09 -0800 Subject: [PATCH] intentrace: init at 0.2.4 --- pkgs/by-name/in/intentrace/package.nix | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/in/intentrace/package.nix diff --git a/pkgs/by-name/in/intentrace/package.nix b/pkgs/by-name/in/intentrace/package.nix new file mode 100644 index 000000000000..750e2ac81590 --- /dev/null +++ b/pkgs/by-name/in/intentrace/package.nix @@ -0,0 +1,34 @@ +{ + fetchFromGitHub, + lib, + rustPlatform, +}: + +let + version = "0.2.4"; +in +rustPlatform.buildRustPackage { + inherit version; + pname = "intentrace"; + + src = fetchFromGitHub { + owner = "sectordistrict"; + repo = "intentrace"; + rev = "refs/tags/v${version}"; + hash = "sha256-Bsis8tL2xahJT/qAFVbbd/CZ7n8KJYLPTIl1a1WHR4c="; + }; + + cargoHash = "sha256-pyGcQy7p0+Vqv3Khy1hLgahcOpqnbKKmRLZcKwkvVWw="; + + meta = { + description = "Prettified Linux syscall tracing tool (like strace)"; + homepage = "https://github.com/sectordistrict/intentrace"; + license = lib.licenses.mit; + platforms = [ "x86_64-linux" ]; + mainProgram = "intentrace"; + maintainers = with lib.maintainers; [ + cloudripper + jk + ]; + }; +}