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"; + }; +})