summary refs log tree commit diff
path: root/pkgs/development/libraries/librelp/default.nix
blob: 7b5a7d228d5eb7bf8ecd8f0f326274172e94059f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenv, fetchFromGitHub
, autoreconfHook
, gnutls
, openssl
, pkg-config
, zlib
}:

stdenv.mkDerivation rec {
  pname = "librelp";
  version = "1.10.0";

  src = fetchFromGitHub {
    owner = "rsyslog";
    repo = "librelp";
    rev = "v${version}";
    sha256 = "sha256-aJLsUtik5aXfsdi+8QoDgbi4VUZ8gV3YPA6kIY6wzs4=";
  };

  nativeBuildInputs = [ pkg-config autoreconfHook ];
  buildInputs = [ gnutls zlib openssl ];

  meta = with lib; {
    description = "A reliable logging library";
    homepage = "https://www.librelp.com/";
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}