1 { lib, stdenv, fetchFromGitHub, perl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1xnbnbi0zk2xsyn8dqsmyxqlfnl36pb1wwibnlp0dxixw6sfymyl";
17 substituteInPlace deer \
18 --replace " perl " " ${perl}/bin/perl "
21 patches = [ ./realpath.patch ];
24 mkdir -p $out/share/zsh/site-functions/
25 cp deer $out/share/zsh/site-functions/
29 description = "Ranger-like file navigation for zsh";
30 homepage = "https://github.com/Vifon/deer";
31 license = licenses.gpl3Plus;
32 maintainers = [ maintainers.vyp ];
33 platforms = platforms.unix;