nixpkgs/pkgs/development/libraries/librelp/default.nix

30 lines
607 B
Nix
Raw Normal View History

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