1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

riemann-c-client: 1.9.1 -> 1.10.2

also fix compilation,
found while reviewing #37412
This commit is contained in:
Jörg Thalheim 2018-03-20 07:00:16 +00:00
parent 7bef35e691
commit 31cd8ced03

View file

@ -1,20 +1,22 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }: { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "riemann-c-client"; name = "riemann-c-client-1.10.1";
version = "1.9.1";
name = "${pname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "algernon"; owner = "algernon";
repo = "riemann-c-client"; repo = "riemann-c-client";
rev = "${name}"; rev = "${name}";
sha256 = "1j3wgf9xigsv6ckmv82gjj4wavi7xjn2zvj1f63fzbaa1rv7pf3s"; sha256 = "1pzyngvj9aq1w2185qpg6rxrjn406pnpy40bnh4c21fn4ql5kk9p";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ file protobufc ]; buildInputs = [ file protobufc ];
preBuild = ''
make lib/riemann/proto/riemann.pb-c.h
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/algernon/riemann-c-client; homepage = https://github.com/algernon/riemann-c-client;
description = "A C client library for the Riemann monitoring system"; description = "A C client library for the Riemann monitoring system";