mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
riemann-c-client: 1.9.1 -> 1.10.2
also fix compilation, found while reviewing #37412
This commit is contained in:
parent
7bef35e691
commit
31cd8ced03
@ -1,20 +1,22 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "riemann-c-client";
|
||||
version = "1.9.1";
|
||||
name = "${pname}-${version}";
|
||||
name = "riemann-c-client-1.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "algernon";
|
||||
repo = "riemann-c-client";
|
||||
rev = "${name}";
|
||||
sha256 = "1j3wgf9xigsv6ckmv82gjj4wavi7xjn2zvj1f63fzbaa1rv7pf3s";
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user