aixlog: migrate to finalAttrs

Assisted-by: Cursor Composer 2.5
This commit is contained in:
Guy Chronister
2026-06-03 13:57:38 -05:00
parent ad65b54f86
commit b60dbaeb12

View File

@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "aixlog";
version = "1.5.0";
src = fetchFromGitHub {
owner = "badaix";
repo = "aixlog";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Xhle7SODRZlHT3798mYIzBi1Mqjz8ai74/UnbVWetiY=";
};
@@ -30,8 +30,8 @@ stdenvNoCC.mkDerivation rec {
meta = {
description = "Header-only C++ logging library";
homepage = "https://github.com/badaix/aixlog";
changelog = "https://github.com/badaix/aixlog/releases/tag/${src.rev}";
changelog = "https://github.com/badaix/aixlog/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})