2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file , protobufc }:
|
2014-07-07 16:05:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 09:38:45 +00:00
|
|
|
pname = "riemann-c-client";
|
2021-10-29 01:38:48 +00:00
|
|
|
version = "1.10.5";
|
2014-07-07 16:05:30 +00:00
|
|
|
|
2015-05-24 01:01:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "algernon";
|
|
|
|
repo = "riemann-c-client";
|
2021-08-02 09:38:45 +00:00
|
|
|
rev = "riemann-c-client-${version}";
|
2021-10-29 01:38:48 +00:00
|
|
|
sha256 = "sha256-LuI9XFDPx0qw/+kkpXd0FOMESERAp31R1+ttkGuJnPA=";
|
2014-07-07 16:05:30 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ file protobufc ];
|
2014-07-07 16:05:30 +00:00
|
|
|
|
2018-03-20 07:00:16 +00:00
|
|
|
preBuild = ''
|
|
|
|
make lib/riemann/proto/riemann.pb-c.h
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/algernon/riemann-c-client";
|
2014-07-07 16:05:30 +00:00
|
|
|
description = "A C client library for the Riemann monitoring system";
|
|
|
|
license = licenses.gpl3;
|
2019-08-20 13:24:01 +00:00
|
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
2014-07-07 16:05:30 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|