nixpkgs/pkgs/tools/misc/riemann-c-client/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
794 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file , protobufc }:
stdenv.mkDerivation rec {
pname = "riemann-c-client";
2021-10-29 02:38:48 +01:00
version = "1.10.5";
2015-05-24 02:01:51 +01:00
src = fetchFromGitHub {
owner = "algernon";
repo = "riemann-c-client";
rev = "riemann-c-client-${version}";
2021-10-29 02:38:48 +01:00
sha256 = "sha256-LuI9XFDPx0qw/+kkpXd0FOMESERAp31R1+ttkGuJnPA=";
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ file protobufc ];
preBuild = ''
make lib/riemann/proto/riemann.pb-c.h
'';
meta = with 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; [ pradeepchhetri ];
platforms = platforms.linux;
};
}