1 { lib, stdenv, fetchFromGitHub, fzf }:
3 stdenv.mkDerivation rec {
4 pname = "fzf-zsh-unstable";
5 version = "2019-09-09";
7 src = fetchFromGitHub {
10 rev = "829d7e40cc437dce8a6e234e259bbd4065e87124";
11 sha256 = "1irjmxhcg1fm4g8p3psjqk7sz5qhj5kw73pyhv91njvpdhn9l26z";
16 substituteInPlace fzf-zsh.plugin.zsh \
18 'fzf_path="$( cd "$fzf_zsh_path/../fzf/" && pwd )"' \
28 install -Dm0644 fzf-zsh.plugin.zsh $out/share/zsh/plugins/fzf-zsh/fzf-zsh.plugin.zsh
32 homepage = "https://github.com/wyntau/fzf-zsh";
33 description = "wrap fzf to use in oh-my-zsh";
34 license = licenses.mit;
36 platforms = platforms.unix;