2019-08-12 01:07:51 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, gnutls
|
|
|
|
, openssl
|
|
|
|
, pkgconfig
|
|
|
|
, zlib
|
|
|
|
}:
|
2015-03-11 23:13:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-12 01:07:51 +01:00
|
|
|
pname = "librelp";
|
2020-03-11 02:03:33 +00:00
|
|
|
version = "1.5.0";
|
2015-03-11 23:13:28 +00:00
|
|
|
|
2019-08-12 01:07:51 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rsyslog";
|
|
|
|
repo = "librelp";
|
|
|
|
rev = "v${version}";
|
2020-03-11 02:03:33 +00:00
|
|
|
sha256 = "1il8dany6y981ficrwnxjlc13v5lj6gqia5678p5pj6bcbq7l7lb";
|
2015-03-11 23:13:28 +00:00
|
|
|
};
|
|
|
|
|
2019-08-12 01:07:51 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
|
|
buildInputs = [ gnutls zlib openssl ];
|
2015-03-11 23:13:28 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "A reliable logging library";
|
2019-08-12 01:07:51 +01:00
|
|
|
homepage = "https://www.librelp.com/";
|
2015-03-11 23:13:28 +00:00
|
|
|
license = licenses.gpl2;
|
2015-04-05 04:03:33 +01:00
|
|
|
platforms = platforms.linux;
|
2015-03-11 23:13:28 +00:00
|
|
|
};
|
|
|
|
}
|