mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
heartbeat: init at 5.2.1
This commit is contained in:
parent
1c3308e9c1
commit
9dfb7e42ad
28
pkgs/misc/logging/heartbeat/default.nix
Normal file
28
pkgs/misc/logging/heartbeat/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "heartbeat-${version}";
|
||||
version = "5.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://artifacts.elastic.co/downloads/beats/heartbeat/${name}-linux-x86_64.tar.gz";
|
||||
sha256 = "1sq3va0kbpqsjbd0bnziv2hwnp6nc2vk32hc9drjk7bhcxkp440l";
|
||||
};
|
||||
|
||||
# statically linked binary, no need to build anything
|
||||
dontBuild = true;
|
||||
doCheck = false;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp heartbeat $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Lightweight shipper for uptime monitoring";
|
||||
homepage = https://www.elastic.co/products/beats;
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = [ stdenv.lib.maintainers.fadenb ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
@ -944,6 +944,8 @@ with pkgs;
|
||||
|
||||
gti = callPackage ../tools/misc/gti { };
|
||||
|
||||
heartbeat = callPackage ../misc/logging/heartbeat { };
|
||||
|
||||
heatseeker = callPackage ../tools/misc/heatseeker { };
|
||||
|
||||
hexio = callPackage ../development/tools/hexio { };
|
||||
|
Loading…
Reference in New Issue
Block a user