above: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-26 12:29:19 +01:00
parent 25c48b6dd6
commit 179e984963
+4 -4
View File
@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "above";
version = "2.8.1";
pyproject = true;
@@ -12,7 +12,7 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "casterbyte";
repo = "Above";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-wyXWGfthzJeHZoJe4OKe9k2BIwLae/aOUtiJpT4SfHw=";
};
@@ -29,9 +29,9 @@ python3.pkgs.buildPythonApplication rec {
meta = {
description = "Invisible network protocol sniffer";
homepage = "https://github.com/casterbyte/Above";
changelog = "https://github.com/casterbyte/Above/releases/tag/${src.tag}";
changelog = "https://github.com/casterbyte/Above/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "above";
};
}
})