fsel: init at 3.1.0 (#495743)

This commit is contained in:
Colin
2026-03-22 00:41:22 +00:00
committed by GitHub
+42
View File
@@ -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;
};
})