From bee10e416c51df9e15f0f1b7ac34e652b4bf8c03 Mon Sep 17 00:00:00 2001 From: gwg313 Date: Tue, 5 May 2026 13:22:32 -0400 Subject: [PATCH] rustlens: init at 0.2.1 Signed-off-by: gwg313 --- pkgs/by-name/ru/rustlens/package.nix | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/ru/rustlens/package.nix diff --git a/pkgs/by-name/ru/rustlens/package.nix b/pkgs/by-name/ru/rustlens/package.nix new file mode 100644 index 000000000000..a83344c31e30 --- /dev/null +++ b/pkgs/by-name/ru/rustlens/package.nix @@ -0,0 +1,38 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + openssl, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "rustlens"; + version = "0.2.1"; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "yashksaini-coder"; + repo = "Rustlens"; + tag = "v${finalAttrs.version}"; + hash = "sha256-BYROEUBa9RZXuJbNbKUbWXu9mPYIuAyO6JwPlNmj244="; + }; + + cargoHash = "sha256-WvUu2M2WFLo5Ve+ER7vpl7q/cpPR4g1vY4z9hRl3On0="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + openssl + ]; + + meta = { + description = "Rustlens is a terminal-based application for exploring Rust codebases."; + homepage = "https://github.com/yashksaini-coder/Rustlens"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ gwg313 ]; + mainProgram = "rustlens"; + }; +})