From 9e2f7f60424075990a66d62087c6a40a29d7c540 Mon Sep 17 00:00:00 2001 From: eymeric Date: Wed, 7 Jan 2026 16:43:46 +0100 Subject: [PATCH] fzf-zsh-plugin: init at 1.0.0-unstable-2025-12-15 --- pkgs/by-name/fz/fzf-zsh-plugin/package.nix | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pkgs/by-name/fz/fzf-zsh-plugin/package.nix diff --git a/pkgs/by-name/fz/fzf-zsh-plugin/package.nix b/pkgs/by-name/fz/fzf-zsh-plugin/package.nix new file mode 100644 index 000000000000..08c059bb8baa --- /dev/null +++ b/pkgs/by-name/fz/fzf-zsh-plugin/package.nix @@ -0,0 +1,43 @@ +{ + bash, + stdenv, + lib, + fetchFromGitHub, + zsh, +}: + +stdenv.mkDerivation { + pname = "fzf-zsh-plugin"; + version = "1.0.0-unstable-2025-12-15"; + + src = fetchFromGitHub { + owner = "unixorn"; + repo = "fzf-zsh-plugin"; + rev = "cdd9d5cc3b41a3a390a0fb8605c40de652da6309"; + hash = "sha256-i6qoaMWVofhD3K6/RaaNatzA2aokiNQ5ilqmahprJFU="; + }; + + strictDeps = true; + + buildInputs = [ + bash + zsh + ]; + + installPhase = '' + runHook preInstall + install -D fzf-settings.zsh $out/share/zsh/fzf-zsh-plugin/fzf-settings.zsh + install -D fzf-zsh-plugin.plugin.zsh $out/share/zsh/fzf-zsh-plugin/fzf-zsh-plugin.plugin.zsh + mkdir -p $out/bin + cp -r bin/* $out/bin/ + runHook postInstall + ''; + + meta = { + homepage = "https://github.com/unixorn/fzf-zsh-plugin"; + description = "ZSH plugin to enable fzf searches of a lot more stuff - docker, tmux, homebrew and more"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.eymeric ]; + platforms = lib.platforms.all; + }; +}