summary refs log tree commit diff
path: root/pkgs/os-specific/linux/health-check
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-09-14 17:09:36 -0500
committerWill Dietz <w@wdtz.org>2019-09-16 12:15:05 -0500
commit3ba36885524e6a283b75b3ae57b20be1ef23d8e3 (patch)
tree88decc17855d51ccfe6f5c08f2af2e271b6f16cc /pkgs/os-specific/linux/health-check
parent2ff3620d0dcd8dbb61d14cafba01f4ca47acd8bb (diff)
downloadnixpkgs-3ba36885524e6a283b75b3ae57b20be1ef23d8e3.tar
nixpkgs-3ba36885524e6a283b75b3ae57b20be1ef23d8e3.tar.gz
nixpkgs-3ba36885524e6a283b75b3ae57b20be1ef23d8e3.tar.bz2
nixpkgs-3ba36885524e6a283b75b3ae57b20be1ef23d8e3.tar.lz
nixpkgs-3ba36885524e6a283b75b3ae57b20be1ef23d8e3.tar.xz
nixpkgs-3ba36885524e6a283b75b3ae57b20be1ef23d8e3.tar.zst
nixpkgs-3ba36885524e6a283b75b3ae57b20be1ef23d8e3.zip
health-check: init at 0.03.02
Diffstat (limited to 'pkgs/os-specific/linux/health-check')
-rw-r--r--pkgs/os-specific/linux/health-check/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/health-check/default.nix b/pkgs/os-specific/linux/health-check/default.nix
new file mode 100644
index 00000000000..e76d77a4448
--- /dev/null
+++ b/pkgs/os-specific/linux/health-check/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, lib, fetchurl, json_c, libbsd }:
+
+stdenv.mkDerivation rec {
+  pname = "health-check";
+  version = "0.03.02";
+  src = fetchurl {
+    url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.gz";
+    sha256 = "12n2qp5lrlahkgrkwy3mjm0nscz6yhhh80z4xmd2n96pn8f3d4hh";
+  };
+  buildInputs = [ json_c libbsd ];
+  makeFlags = [ "JSON_OUTPUT=y" "FNOTIFY=y" ];
+  installFlags = [
+    "BINDIR=${placeholder "out"}/bin"
+    "MANDIR=${placeholder "out"}/share/man/man8"
+  ];
+  meta = with lib; {
+    description = "Process monitoring tool";
+    homepage = "https://kernel.ubuntu.com/~cking/health-check/";
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ dtzWill ];
+  };
+}