2016-01-17 23:04:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
|
2014-07-07 16:05:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-24 03:38:42 +00:00
|
|
|
name = "riemann-c-client-1.10.3";
|
2014-07-07 16:05:30 +00:00
|
|
|
|
2015-05-24 01:01:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "algernon";
|
|
|
|
repo = "riemann-c-client";
|
2017-01-26 11:22:53 +00:00
|
|
|
rev = "${name}";
|
2018-08-24 03:38:42 +00:00
|
|
|
sha256 = "0944l0wlx1m4x8b4dpjsq994614bxd7pi1c1va3qyk93hld9d3qc";
|
2014-07-07 16:05:30 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ file protobufc ];
|
2014-07-07 16:05:30 +00:00
|
|
|
|
2018-03-20 07:00:16 +00:00
|
|
|
preBuild = ''
|
|
|
|
make lib/riemann/proto/riemann.pb-c.h
|
|
|
|
'';
|
|
|
|
|
2014-07-07 16:05:30 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-05-24 01:01:51 +00:00
|
|
|
homepage = https://github.com/algernon/riemann-c-client;
|
2014-07-07 16:05:30 +00: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 16:05:30 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|