29 lines
607 B
Nix
29 lines
607 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, autoreconfHook
|
|
, gnutls
|
|
, openssl
|
|
, pkg-config
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "librelp";
|
|
version = "1.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rsyslog";
|
|
repo = "librelp";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-VJlvFiOsIyiu0kBU8NkObtt9j2ElrSzJtvE8wtSlOus=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
buildInputs = [ gnutls zlib openssl ];
|
|
|
|
meta = with lib; {
|
|
description = "A reliable logging library";
|
|
homepage = "https://www.librelp.com/";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|