@@ -1,20 +1,22 @@
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− pname = "riemann-c-client";
4+ name = "riemann-c-client-1.10.1";
6− name = "${pname}-${version}";
8 src = fetchFromGitHub {
6 src = fetchFromGitHub {
9 owner = "algernon";
7 owner = "algernon";
10 repo = "riemann-c-client";
8 repo = "riemann-c-client";
11 rev = "${name}";
9 rev = "${name}";
12− sha256 = "1j3wgf9xigsv6ckmv82gjj4wavi7xjn2zvj1f63fzbaa1rv7pf3s";
10+ sha256 = "1pzyngvj9aq1w2185qpg6rxrjn406pnpy40bnh4c21fn4ql5kk9p";
15 nativeBuildInputs = [ autoreconfHook pkgconfig ];
13 nativeBuildInputs = [ autoreconfHook pkgconfig ];
16 buildInputs = [ file protobufc ];
14 buildInputs = [ file protobufc ];
17+ make lib/riemann/proto/riemann.pb-c.h
18 meta = with stdenv.lib; {
20 meta = with stdenv.lib; {
19 homepage = https://github.com/algernon/riemann-c-client;
21 homepage = https://github.com/algernon/riemann-c-client;
20 description = "A C client library for the Riemann monitoring system";
22 description = "A C client library for the Riemann monitoring system";