From 3bb2f9a6caef07cd2d798fe52e340df524663a82 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 Apr 2018 14:17:56 +0200 Subject: monitor-uucp --- nix/monitor-uucp.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 nix/monitor-uucp.nix (limited to 'nix/monitor-uucp.nix') diff --git a/nix/monitor-uucp.nix b/nix/monitor-uucp.nix new file mode 100644 index 0000000..b1abdda --- /dev/null +++ b/nix/monitor-uucp.nix @@ -0,0 +1,29 @@ +{ 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 + ''; +} -- cgit v1.2.3