1 { lib, stdenv, fetchFromGitHub, libgtop, xmessage, which, pkg-config }:
4 pname = "das_watchdog";
5 version = "unstable-2015-09-12";
7 src = fetchFromGitHub {
10 rev = "5ac0db0b98e5b4e690aca0aa7fb6ec60ceddcb06";
11 sha256 = "sha256-eacUn/gYCEHtHdQf3lBPYvY3kfN3Bik7AolAPpbbwQs=";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ libgtop xmessage which ];
19 cp das_watchdog $out/bin/
24 homepage = "https://github.com/kmatheussen/das_watchdog";
25 description = "General watchdog for the linux operating system";
27 It should run in the background at all times to ensure a realtime process
28 won't hang the machine.";
30 license = licenses.free;
31 maintainers = [ maintainers.magnetophon ];
32 platforms = platforms.linux;