2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file , protobufc }:
|
2014-07-07 17:05:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 10:38:45 +01:00
|
|
|
pname = "riemann-c-client";
|
|
|
|
version = "1.10.4";
|
2014-07-07 17:05:30 +01:00
|
|
|
|
2015-05-24 02:01:51 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "algernon";
|
|
|
|
repo = "riemann-c-client";
|
2021-08-02 10:38:45 +01:00
|
|
|
rev = "riemann-c-client-${version}";
|
2018-12-14 12:51:58 +00:00
|
|
|
sha256 = "01gzqxqm1xvki2vd78c7my2kgp4fyhkcf5j5fmy8z0l93lgj82rr";
|
2014-07-07 17:05:30 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ file protobufc ];
|
2014-07-07 17:05:30 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://github.com/algernon/riemann-c-client";
|
2014-07-07 17:05:30 +01:00
|
|
|
description = "A C client library for the Riemann monitoring system";
|
|
|
|
license = licenses.gpl3;
|
2019-08-20 14:24:01 +01:00
|
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
2014-07-07 17:05:30 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|