mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
30 lines
606 B
Nix
30 lines
606 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, autoreconfHook
|
|
, gnutls
|
|
, openssl
|
|
, pkg-config
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "librelp";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rsyslog";
|
|
repo = "librelp";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-nE7YavjZj+nHcTNkcl/xVAaP+9XfHlTEsW18aPO/ABY=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|