syslog-ng: move to finalAttrs

explicitly use lib where needed
This commit is contained in:
John Titor 2024-04-27 17:29:58 +05:30
parent cfb69b971b
commit 32016912f4
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -59,14 +59,14 @@ let
];
py = python3.withPackages python-deps;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "syslog-ng";
version = "4.7.1";
src = fetchFromGitHub {
owner = "syslog-ng";
repo = "syslog-ng";
rev = "syslog-ng-${version}";
rev = "syslog-ng-${finalAttrs.version}";
hash = "sha256-runFMUxQv7B023I38QfGqn89ZbzA5vMXHOOkYwMxArI=";
fetchSubmodules = true;
};
@ -117,11 +117,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with lib; {
meta = {
homepage = "https://www.syslog-ng.com";
description = "Next-generation syslogd with advanced networking and filtering capabilities";
license = with licenses; [ gpl2Plus lgpl21Plus ];
maintainers = with maintainers; [ vifino ];
platforms = platforms.linux;
license = with lib.licenses; [ gpl2Plus lgpl21Plus ];
maintainers = with lib.maintainers; [ vifino ];
platforms = lib.platforms.linux;
};
}
})