lol

watchdog: init at 5.16

This is the Linux software `watchdog` as packaged on Debian, Raspbian,
and I believe Fedora. It has a number of configuration options not
available with the systemd watchdog, including rebooting if unable to
ping a specific host, if a specific network adapter fails, and can also
perform custom tests and actions.

+25
+25
pkgs/by-name/wa/watchdog/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchzip, 5 + }: 6 + stdenv.mkDerivation (finalAttrs: { 7 + version = "5.16"; 8 + pname = "watchdog"; 9 + src = fetchzip { 10 + url = "mirror://sourceforge/watchdog/watchdog-${finalAttrs.version}.tar.gz"; 11 + hash = "sha256-ecXsnPvAhlRB8jiTgK+i1j6m/0idNqmzjSqi6UGCydE="; 12 + }; 13 + makeFlags = [ 14 + "CONFIG_FILENAME:=${placeholder "out"}/etc/watchdog.conf" 15 + ]; 16 + 17 + meta = { 18 + description = "Software watchdog for Linux"; 19 + homepage = "https://sourceforge.net/projects/watchdog/"; 20 + license = lib.licenses.gpl2; 21 + platforms = lib.platforms.linux; 22 + maintainers = with lib.maintainers; [ n8henrie ]; 23 + mainProgram = "watchdog"; 24 + }; 25 + })