python3Packages.appimage: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-05-08 16:37:17 +02:00
parent 45de457e57
commit 3d39855fb2
@@ -5,7 +5,7 @@
hatchling,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "appimage";
version = "1.2.0";
pyproject = true;
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "ssh-mitm";
repo = "appimage";
tag = version;
tag = finalAttrs.version;
hash = "sha256-aL0JcA6R2FUMcXykbXaSaUEz1ERs3iKh4c0cbRAClSY=";
};
@@ -27,8 +27,8 @@ buildPythonPackage rec {
meta = {
description = "AppImage start scripts";
homepage = "https://github.com/ssh-mitm/appimage";
changelog = "https://github.com/ssh-mitm/appimage/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/ssh-mitm/appimage/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}
})