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