syslog-ng: move to finalAttrs
explicitly use lib where needed
This commit is contained in:
parent
cfb69b971b
commit
32016912f4
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user