nixpkgs/pkgs/os-specific/linux/health-check/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
808 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, json_c, libbsd }:
2019-09-14 22:09:36 +00:00
stdenv.mkDerivation rec {
pname = "health-check";
2023-01-28 19:25:06 +00:00
version = "0.03.11";
src = fetchFromGitHub {
owner = "ColinIanKing";
repo = pname;
rev = "V${version}";
2023-01-28 19:25:06 +00:00
hash = "sha256-QLa/7kA0juefzOba7ELopDmOVfiGJReo4LCfhnxW1tk=";
2019-09-14 22:09:36 +00:00
};
2019-09-14 22:09:36 +00:00
buildInputs = [ json_c libbsd ];
2019-09-14 22:09:36 +00:00
makeFlags = [ "JSON_OUTPUT=y" "FNOTIFY=y" ];
2019-09-14 22:09:36 +00:00
installFlags = [
"BINDIR=${placeholder "out"}/bin"
"MANDIR=${placeholder "out"}/share/man/man8"
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
2019-09-14 22:09:36 +00:00
];
2019-09-14 22:09:36 +00:00
meta = with lib; {
description = "Process monitoring tool";
homepage = "https://github.com/ColinIanKing/health-check";
2019-09-14 22:09:36 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ dtzWill ];
};
}