{ lib, stdenvNoCC, fetchFromGitHub, }: stdenvNoCC.mkDerivation { pname = "zsh-fzf-history-search"; version = "0-unstable-2024-05-15"; src = fetchFromGitHub { owner = "joshskidmore"; repo = "zsh-fzf-history-search"; rev = "d5a9730b5b4cb0b39959f7f1044f9c52743832ba"; hash = "sha256-tQqIlkgIWPEdomofPlmWNEz/oNFA1qasILk4R5RWobY="; }; dontConfigure = true; dontBuild = true; strictDeps = true; installPhase = '' runHook preInstall install -D zsh-fzf-history-search*.zsh --target-directory=$out/share/zsh-fzf-history-search runHook postInstall ''; meta = { description = "Simple zsh plugin that replaces Ctrl+R with an fzf-driven select which includes date/times"; homepage = "https://github.com/joshskidmore/zsh-fzf-history-search"; license = lib.licenses.mit; platforms = lib.platforms.unix; maintainers = [ ]; }; }