2016-01-18 00:04:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
|
2014-07-07 18:05:30 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-07-06 20:51:40 +02:00
|
|
|
name = "riemann-c-client-1.10.2";
|
2014-07-07 18:05:30 +02:00
|
|
|
|
2015-05-24 03:01:51 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "algernon";
|
|
|
|
repo = "riemann-c-client";
|
2017-01-26 12:22:53 +01:00
|
|
|
rev = "${name}";
|
2018-07-06 20:51:40 +02:00
|
|
|
sha256 = "185wn6fqgrs16f9c0lkzw14477wmkgandz86h4miw7cgi7ki4l5i";
|
2014-07-07 18:05:30 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ file protobufc ];
|
2014-07-07 18:05:30 +02:00
|
|
|
|
2018-03-20 08:00:16 +01:00
|
|
|
preBuild = ''
|
|
|
|
make lib/riemann/proto/riemann.pb-c.h
|
|
|
|
'';
|
|
|
|
|
2014-07-07 18:05:30 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-05-24 03:01:51 +02:00
|
|
|
homepage = https://github.com/algernon/riemann-c-client;
|
2014-07-07 18:05:30 +02:00
|
|
|
description = "A C client library for the Riemann monitoring system";
|
|
|
|
license = licenses.gpl3;
|
2017-01-26 12:22:53 +01:00
|
|
|
maintainers = with maintainers; [ rickynils pradeepchhetri ];
|
2014-07-07 18:05:30 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|