2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2019-08-12 00:07:51 +00:00
|
|
|
, autoreconfHook
|
|
|
|
, gnutls
|
|
|
|
, openssl
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-08-12 00:07:51 +00:00
|
|
|
, zlib
|
|
|
|
}:
|
2015-03-11 23:13:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-12 00:07:51 +00:00
|
|
|
pname = "librelp";
|
2021-01-30 12:42:58 +00:00
|
|
|
version = "1.9.0";
|
2015-03-11 23:13:28 +00:00
|
|
|
|
2019-08-12 00:07:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rsyslog";
|
|
|
|
repo = "librelp";
|
|
|
|
rev = "v${version}";
|
2021-01-30 12:42:58 +00:00
|
|
|
sha256 = "sha256-nE7YavjZj+nHcTNkcl/xVAaP+9XfHlTEsW18aPO/ABY=";
|
2015-03-11 23:13:28 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2019-08-12 00:07:51 +00:00
|
|
|
buildInputs = [ gnutls zlib openssl ];
|
2015-03-11 23:13:28 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "A reliable logging library";
|
2019-08-12 00:07:51 +00:00
|
|
|
homepage = "https://www.librelp.com/";
|
2015-03-11 23:13:28 +00:00
|
|
|
license = licenses.gpl2;
|
2015-04-05 03:03:33 +00:00
|
|
|
platforms = platforms.linux;
|
2015-03-11 23:13:28 +00:00
|
|
|
};
|
|
|
|
}
|