Files
nixpkgs/pkgs/by-name/li/librelp/package.nix
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

40 lines
660 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
gnutls,
openssl,
pkg-config,
zlib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "librelp";
version = "1.12.0";
src = fetchFromGitHub {
owner = "rsyslog";
repo = "librelp";
rev = "v${finalAttrs.version}";
sha256 = "sha256-VWW5EM1INxBACoQsIN+mxsJjUKDFbfh2mqdvB/3W6Xw=";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
];
buildInputs = [
gnutls
zlib
openssl
];
meta = {
description = "Reliable logging library";
homepage = "https://www.librelp.com/";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
})