heartbeat: init at 5.2.1

This commit is contained in:
Tristan Helmich 2017-02-26 21:40:11 +01:00 committed by Robin Gloster
parent 1c3308e9c1
commit 9dfb7e42ad
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882
2 changed files with 30 additions and 0 deletions

View 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" ];
};
}

View File

@ -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 { };