diff options
author | Bart Brouns <bart@magnetopon.nl> | 2015-05-25 17:40:16 +0200 |
---|---|---|
committer | Bart Brouns <bart@magnetopon.nl> | 2015-05-26 15:13:59 +0200 |
commit | c3b7a8b053bc08c82dd8a312fda769110b3ab578 (patch) | |
tree | 0824e1e4338f6e5df4b2271b1ed7bbb8ef33b290 /pkgs/tools/system/das_watchdog/default.nix | |
parent | f2f635b1f58d88a40377092b72c70d3997cd9dfd (diff) | |
download | nixlib-c3b7a8b053bc08c82dd8a312fda769110b3ab578.tar nixlib-c3b7a8b053bc08c82dd8a312fda769110b3ab578.tar.gz nixlib-c3b7a8b053bc08c82dd8a312fda769110b3ab578.tar.bz2 nixlib-c3b7a8b053bc08c82dd8a312fda769110b3ab578.tar.lz nixlib-c3b7a8b053bc08c82dd8a312fda769110b3ab578.tar.xz nixlib-c3b7a8b053bc08c82dd8a312fda769110b3ab578.tar.zst nixlib-c3b7a8b053bc08c82dd8a312fda769110b3ab578.zip |
add das_watchdog: a realtime watchdog
Diffstat (limited to 'pkgs/tools/system/das_watchdog/default.nix')
-rw-r--r-- | pkgs/tools/system/das_watchdog/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/system/das_watchdog/default.nix b/pkgs/tools/system/das_watchdog/default.nix new file mode 100644 index 000000000000..465ae48063b8 --- /dev/null +++ b/pkgs/tools/system/das_watchdog/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchgit, libgtop, xmessage, which, pkgconfig }: + +stdenv.mkDerivation rec { + name = "das_watchdog-${version}"; + version = "git-2015-04-02"; + + src = fetchgit { + url = "https://github.com/kmatheussen/das_watchdog.git"; + rev = "1c203d9a55455c4670c164f945ea2dd9fd197ba9"; + sha256 = "c817491d67d31297dcd6177b9c33b5c3977c1c383eac588026631dd6961ba6bf"; + }; + + buildInputs = [ libgtop xmessage which pkgconfig ]; + + installPhase = '' + mkdir -p $out/bin/ + cp das_watchdog $out/bin/ + cp test_rt $out/bin/ + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/kmatheussen/das_watchdog; + description = "A general watchdog for the linux operating system"; + longDescription = '' + It should run in the background at all times to ensure a realtime process + won't hang the machine."; + ''; + license = licenses.free; + maintainers = [ maintainers.magnetophon ]; + platforms = platforms.linux; + }; +} |