5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
29 lines
848 B
Nix
29 lines
848 B
Nix
{ lib, stdenv, fetchFromGitea, autoreconfHook, pkg-config, file , protobufc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "riemann-c-client";
|
|
version = "1.10.5";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "git.madhouse-project.org";
|
|
owner = "algernon";
|
|
repo = "riemann-c-client";
|
|
rev = "riemann-c-client-${version}";
|
|
sha256 = "1w4wi5mr0vgbsx8pv9s08i409qqlfivsa979zyq4miyga1f3vqif";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ file protobufc ];
|
|
|
|
preBuild = ''
|
|
make lib/riemann/proto/riemann.pb-c.h
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://git.madhouse-project.org/algernon/riemann-c-client";
|
|
description = "A C client library for the Riemann monitoring system";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|