2019-08-11 17:07:51 -07:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, gnutls
|
|
|
|
, openssl
|
2021-01-18 22:50:56 -08:00
|
|
|
, pkg-config
|
2019-08-11 17:07:51 -07:00
|
|
|
, zlib
|
|
|
|
}:
|
2015-03-11 16:13:28 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-11 17:07:51 -07:00
|
|
|
pname = "librelp";
|
2020-09-24 01:01:14 -07:00
|
|
|
version = "1.7.0";
|
2015-03-11 16:13:28 -07:00
|
|
|
|
2019-08-11 17:07:51 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rsyslog";
|
|
|
|
repo = "librelp";
|
|
|
|
rev = "v${version}";
|
2020-09-24 01:01:14 -07:00
|
|
|
sha256 = "0miqjck9zh1hgsx1v395n0d4f1a1p5a8khybv2nsfjq04g9359c9";
|
2015-03-11 16:13:28 -07:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2019-08-11 17:07:51 -07:00
|
|
|
buildInputs = [ gnutls zlib openssl ];
|
2015-03-11 16:13:28 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-06-20 03:53:46 -07:00
|
|
|
description = "A reliable logging library";
|
2019-08-11 17:07:51 -07:00
|
|
|
homepage = "https://www.librelp.com/";
|
2015-03-11 16:13:28 -07:00
|
|
|
license = licenses.gpl2;
|
2015-04-04 20:03:33 -07:00
|
|
|
platforms = platforms.linux;
|
2015-03-11 16:13:28 -07:00
|
|
|
};
|
|
|
|
}
|