nixpkgs/pkgs/tools/misc/riemann-c-client/default.nix

28 lines
767 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
stdenv.mkDerivation rec {
name = "riemann-c-client-1.10.3";
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}";
sha256 = "0944l0wlx1m4x8b4dpjsq994614bxd7pi1c1va3qyk93hld9d3qc";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ file protobufc ];
preBuild = ''
make lib/riemann/proto/riemann.pb-c.h
'';
meta = with stdenv.lib; {
2015-05-24 01:01:51 +00:00
homepage = https://github.com/algernon/riemann-c-client;
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 ];
platforms = platforms.linux;
};
}