Commit 13203a72 authored by Adrian Pistol's avatar Adrian Pistol
Browse files

watchdogd: init at 4.0

parent 34524fed
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, autoreconfHook
, libite
, libuev
, libconfuse
}:
stdenv.mkDerivation rec {
  pname = "watchdogd";
  version = "4.0";

  src = fetchFromGitHub {
    owner = "troglobit";
    repo = "watchdogd";
    rev = version;
    hash = "sha256-JNJj0CJGJXuIRpob2RXYqDRrU4Cn20PRxOjQ6TFsVYQ=";
  };

  nativeBuildInputs = [ pkg-config autoreconfHook ];
  buildInputs = [ libite libuev libconfuse ];

  meta = with lib; {
    description = "Advanced system & process supervisor for Linux";
    homepage = "https://troglobit.com/watchdogd.html";
    changelog = "https://github.com/troglobit/watchdogd/releases/tag/${version}";
    license = licenses.isc;
    platforms = platforms.linux;
    maintainers = with maintainers; [ vifino ];
  };
}