mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
parent
e6a705413d
commit
7dcb25726b
1 changed files with 9 additions and 6 deletions
|
@ -1,12 +1,14 @@
|
||||||
{ stdenv, lib, fetchurl, json_c, libbsd }:
|
{ stdenv, lib, fetchFromGitHub, json_c, libbsd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "health-check";
|
pname = "health-check";
|
||||||
version = "0.03.05";
|
version = "0.03.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.gz";
|
owner = "ColinIanKing";
|
||||||
sha256 = "1qxmkdl4pa043yg4kq5ffapm0c2cmm64h3v2c3xhnx0ad5pbhy5z";
|
repo = pname;
|
||||||
|
rev = "V${version}";
|
||||||
|
hash = "sha256-1dm7tl7DHv1CzuLe1/UewDSUOanO0hN+STkPrAHcZmI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ json_c libbsd ];
|
buildInputs = [ json_c libbsd ];
|
||||||
|
@ -16,11 +18,12 @@ stdenv.mkDerivation rec {
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"BINDIR=${placeholder "out"}/bin"
|
"BINDIR=${placeholder "out"}/bin"
|
||||||
"MANDIR=${placeholder "out"}/share/man/man8"
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
||||||
|
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Process monitoring tool";
|
description = "Process monitoring tool";
|
||||||
homepage = "https://kernel.ubuntu.com/~cking/health-check/";
|
homepage = "https://github.com/ColinIanKing/health-check";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ dtzWill ];
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
|
|
Loading…
Reference in a new issue