{ stdenv , zsh, coreutils, findutils, gawk, inotify-tools }: stdenv.mkDerivation rec { name = "rolling-directory-${version}"; version = "0.3"; src = ../rolling-directory; phases = [ "buildPhase" "installPhase" ]; inherit zsh coreutils findutils gawk; inotify = inotify-tools; buildPhase = '' substituteAll $src rolling-directory ''; installPhase = '' mkdir -p $out/bin install -m 755 -t $out/bin \ rolling-directory ''; }