summary refs log tree commit diff
path: root/pkgs/development/libraries/librelp/default.nix
blob: 17f9537e418a8bef68bdf0cd7cbc42c2f00f73c6 (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
{ stdenv, fetchFromGitHub
, autoreconfHook
, gnutls
, openssl
, pkgconfig
, zlib
}:

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

  src = fetchFromGitHub {
    owner = "rsyslog";
    repo = "librelp";
    rev = "v${version}";
    sha256 = "1il8dany6y981ficrwnxjlc13v5lj6gqia5678p5pj6bcbq7l7lb";
  };

  nativeBuildInputs = [ pkgconfig autoreconfHook ];
  buildInputs = [ gnutls zlib openssl ];

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