2016-01-17 23:04:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
|
2014-07-07 17:05:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-14 12:51:58 +00:00
|
|
|
name = "riemann-c-client-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";
|
2017-01-26 11:22:53 +00:00
|
|
|
rev = "${name}";
|
2018-12-14 12:51:58 +00:00
|
|
|
sha256 = "01gzqxqm1xvki2vd78c7my2kgp4fyhkcf5j5fmy8z0l93lgj82rr";
|
2014-07-07 17:05:30 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2014-07-07 17:05:30 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-05-24 02:01: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;
|
2017-01-26 11:22:53 +00:00
|
|
|
maintainers = with maintainers; [ rickynils pradeepchhetri ];
|
2014-07-07 17:05:30 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|