{ stdenv , fetchgit , makeWrapper , zsh, lsof, pv, inotify-tools }: stdenv.mkDerivation rec { name = "monitor-uucp-${version}"; version = "0.1"; src = ../monitor-uucp; buildInputs = [ makeWrapper ]; phases = [ "buildPhase" "installPhase" ]; inherit zsh lsof pv; inotify = inotify-tools; buildPhase = '' substituteAll $src monitor-uucp ''; installPhase = '' mkdir -p $out/bin install -m 755 -t $out/bin \ monitor-uucp ''; }