From c2ad7477871ba9216be0858773e33c04af567b90 Mon Sep 17 00:00:00 2001 From: Inarizxc Date: Wed, 11 Mar 2026 13:54:21 +0300 Subject: [PATCH] lsv: init at 0.1.15 --- pkgs/by-name/ls/lsv/package.nix | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/ls/lsv/package.nix diff --git a/pkgs/by-name/ls/lsv/package.nix b/pkgs/by-name/ls/lsv/package.nix new file mode 100644 index 000000000000..c6589419cefe --- /dev/null +++ b/pkgs/by-name/ls/lsv/package.nix @@ -0,0 +1,34 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + __structuredAttrs = true; + + pname = "lsv"; + version = "0.1.15"; + + src = fetchFromGitHub { + owner = "SecretDeveloper"; + repo = "lsv"; + tag = "v${finalAttrs.version}"; + hash = "sha256-Q8UCjGY1h0r61+xp8jGwDUHF/M/7lWZNw6iwZMjTiPE="; + }; + + cargoHash = "sha256-o2LLUTijzCqlyoKrO+Fv6m7DneTnm+BnA8Q943Oo37E="; + env.RUSTC_BOOTSTRAP = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Configurable command line file browser with preview and key bindings"; + homepage = "https://github.com/SecretDeveloper/lsv"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ Inarizxc ]; + platforms = lib.platforms.linux; + mainProgram = "lsv"; + }; +})