nixpkgs-suyu/pkgs/tools/misc/riemann-c-client/default.nix

28 lines
754 B
Nix
Raw Normal View History

2021-01-17 04:51:22 +01:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file , protobufc }:
stdenv.mkDerivation rec {
name = "riemann-c-client-1.10.4";
2015-05-24 03:01:51 +02:00
src = fetchFromGitHub {
owner = "algernon";
repo = "riemann-c-client";
2019-09-09 01:38:31 +02:00
rev = name;
sha256 = "01gzqxqm1xvki2vd78c7my2kgp4fyhkcf5j5fmy8z0l93lgj82rr";
};
2021-01-17 04:51:22 +01:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ file protobufc ];
preBuild = ''
make lib/riemann/proto/riemann.pb-c.h
'';
meta = with lib; {
homepage = "https://github.com/algernon/riemann-c-client";
description = "A C client library for the Riemann monitoring system";
license = licenses.gpl3;
maintainers = with maintainers; [ pradeepchhetri ];
platforms = platforms.linux;
};
}