1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/tools/misc/riemann-c-client/default.nix
Jörg Thalheim 31cd8ced03 riemann-c-client: 1.9.1 -> 1.10.2
also fix compilation,
found while reviewing #37412
2018-03-20 07:02:08 +00:00

28 lines
767 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
stdenv.mkDerivation rec {
name = "riemann-c-client-1.10.1";
src = fetchFromGitHub {
owner = "algernon";
repo = "riemann-c-client";
rev = "${name}";
sha256 = "1pzyngvj9aq1w2185qpg6rxrjn406pnpy40bnh4c21fn4ql5kk9p";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ file protobufc ];
preBuild = ''
make lib/riemann/proto/riemann.pb-c.h
'';
meta = with stdenv.lib; {
homepage = https://github.com/algernon/riemann-c-client;
description = "A C client library for the Riemann monitoring system";
license = licenses.gpl3;
maintainers = with maintainers; [ rickynils pradeepchhetri ];
platforms = platforms.linux;
};
}