From c88d320e4e8ec4a16e54b178fdb7285b64a5a25c Mon Sep 17 00:00:00 2001 From: Nettika Date: Mon, 2 Mar 2026 00:21:24 -0800 Subject: [PATCH] fsel: init at 3.1.0 --- pkgs/by-name/fs/fsel/package.nix | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/fs/fsel/package.nix diff --git a/pkgs/by-name/fs/fsel/package.nix b/pkgs/by-name/fs/fsel/package.nix new file mode 100644 index 000000000000..fbda8ed2ab33 --- /dev/null +++ b/pkgs/by-name/fs/fsel/package.nix @@ -0,0 +1,42 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + installShellFiles, + nix-update-script, + pkg-config, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "fsel"; + version = "3.1.0"; + + src = fetchFromGitHub { + owner = "Mjoyufull"; + repo = "fsel"; + tag = finalAttrs.version; + hash = "sha256-h8CA2ZR/XKQJDq5uopOD1I+ZpWehuVNiJLeuuLaKAQA="; + }; + + cargoHash = "sha256-RHDTdwbsKQtz8Pwq3pNgoUvK8y5NO94zVhsKiBVET+I="; + + nativeBuildInputs = [ + installShellFiles + pkg-config + ]; + + postInstall = '' + installManPage fsel.1 + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Fast TUI app launcher and fuzzy finder for GNU/Linux and *BSD"; + homepage = "https://github.com/Mjoyufull/fsel"; + license = lib.licenses.bsd2; + maintainers = with lib.maintainers; [ nettika ]; + mainProgram = "fsel"; + platforms = with lib.platforms; linux ++ freebsd ++ openbsd ++ netbsd; + }; +})