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-12-14 13:51:58 +01:00
|
|
|
name = "riemann-c-client-1.10.4";
|
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-12-14 13:51:58 +01:00
|
|
|
sha256 = "01gzqxqm1xvki2vd78c7my2kgp4fyhkcf5j5fmy8z0l93lgj82rr";
|
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;
|
|
|
|
};
|
|
|
|
}
|