python3Packages.asdf-astropy: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-29 13:49:55 +02:00
committed by GitHub
parent b84600e0c9
commit 46d9fd0227
@@ -18,7 +18,7 @@
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "asdf-astropy";
version = "0.11.0";
pyproject = true;
@@ -26,7 +26,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "astropy";
repo = "asdf-astropy";
tag = version;
tag = finalAttrs.version;
hash = "sha256-dHi+VFMo5RcJAIExR8OFTljtG3P/VXT2jzkbBobwVKg=";
};
@@ -63,8 +63,8 @@ buildPythonPackage rec {
meta = {
description = "Extension library for ASDF to provide support for Astropy";
homepage = "https://github.com/astropy/asdf-astropy";
changelog = "https://github.com/astropy/asdf-astropy/blob/${src.tag}/CHANGES.rst";
changelog = "https://github.com/astropy/asdf-astropy/blob/${finalAttrs.src.tag}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
})