traefik: add djds as maintainer (#377217)
[NixPkgs.git] / pkgs / by-name / da / das_watchdog / package.nix
blob31a33eee2bde5b18b489d88f47fceb3415bfc67d
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   libgtop,
6   xmessage,
7   which,
8   pkg-config,
9 }:
11 stdenv.mkDerivation {
12   pname = "das_watchdog";
13   version = "unstable-2015-09-12";
15   src = fetchFromGitHub {
16     owner = "kmatheussen";
17     repo = "das_watchdog";
18     rev = "5ac0db0b98e5b4e690aca0aa7fb6ec60ceddcb06";
19     sha256 = "sha256-eacUn/gYCEHtHdQf3lBPYvY3kfN3Bik7AolAPpbbwQs=";
20   };
22   nativeBuildInputs = [ pkg-config ];
23   buildInputs = [
24     libgtop
25     xmessage
26     which
27   ];
29   installPhase = ''
30     mkdir -p $out/bin/
31     cp das_watchdog $out/bin/
32     cp test_rt $out/bin/
33   '';
35   meta = with lib; {
36     homepage = "https://github.com/kmatheussen/das_watchdog";
37     description = "General watchdog for the linux operating system";
38     longDescription = ''
39       It should run in the background at all times to ensure a realtime process
40       won't hang the machine.";
41     '';
42     license = licenses.free;
43     maintainers = [ maintainers.magnetophon ];
44     platforms = platforms.linux;
45   };