summaryrefslogtreecommitdiff
path: root/nix/monitor-uucp.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-14 14:17:56 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-14 14:17:56 +0200
commit3bb2f9a6caef07cd2d798fe52e340df524663a82 (patch)
tree4b7efc82afb7c02b6120a548b5578abdeecc9f84 /nix/monitor-uucp.nix
parent3fc89b51602f48938dcaa3d272fce130cd674093 (diff)
downloadutils-3bb2f9a6caef07cd2d798fe52e340df524663a82.tar
utils-3bb2f9a6caef07cd2d798fe52e340df524663a82.tar.gz
utils-3bb2f9a6caef07cd2d798fe52e340df524663a82.tar.bz2
utils-3bb2f9a6caef07cd2d798fe52e340df524663a82.tar.xz
utils-3bb2f9a6caef07cd2d798fe52e340df524663a82.zip
monitor-uucp
Diffstat (limited to 'nix/monitor-uucp.nix')
-rw-r--r--nix/monitor-uucp.nix29
1 files changed, 29 insertions, 0 deletions
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 @@
1{ stdenv
2, fetchgit
3, makeWrapper
4, zsh, lsof, pv, inotify-tools
5}:
6
7stdenv.mkDerivation rec {
8 name = "monitor-uucp-${version}";
9 version = "0.1";
10 src = ../monitor-uucp;
11
12 buildInputs = [ makeWrapper ];
13
14 phases = [ "buildPhase" "installPhase" ];
15
16 inherit zsh lsof pv;
17 inotify = inotify-tools;
18
19 buildPhase = ''
20 substituteAll $src monitor-uucp
21 '';
22
23 installPhase = ''
24 mkdir -p $out/bin
25
26 install -m 755 -t $out/bin \
27 monitor-uucp
28 '';
29}