git.iko.soy/typeable/nixpkgs
on master help sign in
riemann-c-client: 1.9.1 -> 1.10.2
31cd8ceJörg Thalheim
pkgs/tools/misc/riemann-c-client/default.nix+6−4
@@ -1,20 +1,22 @@
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− pname = "riemann-c-client";
4+ name = "riemann-c-client-1.10.1";
5− version = "1.9.1";
6− name = "${pname}-${version}";
7
5
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";
13 };
11 };
14
12
15 nativeBuildInputs = [ autoreconfHook pkgconfig ];
13 nativeBuildInputs = [ autoreconfHook pkgconfig ];
16 buildInputs = [ file protobufc ];
14 buildInputs = [ file protobufc ];
17
15
16+ preBuild = ''
17+ make lib/riemann/proto/riemann.pb-c.h
18+ '';
19+
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";