1{ lib, stdenv, fetchFromGitHub
2, autoreconfHook
3, gnutls
4, openssl
5, pkg-config
6, zlib
7}:
8
9stdenv.mkDerivation rec {
10 pname = "librelp";
11 version = "1.11.0";
12
13 src = fetchFromGitHub {
14 owner = "rsyslog";
15 repo = "librelp";
16 rev = "v${version}";
17 sha256 = "sha256-VJlvFiOsIyiu0kBU8NkObtt9j2ElrSzJtvE8wtSlOus=";
18 };
19
20 nativeBuildInputs = [ pkg-config autoreconfHook ];
21 buildInputs = [ gnutls zlib openssl ];
22
23 meta = with lib; {
24 description = "A reliable logging library";
25 homepage = "https://www.librelp.com/";
26 license = licenses.gpl2;
27 platforms = platforms.linux;
28 };
29}