python3Packages.sure: use finalAttrs

This commit is contained in:
Sigmanificient
2026-01-07 02:20:10 +01:00
parent 817fe8ac64
commit 12cd62ccaa
@@ -10,13 +10,13 @@
isPyPy,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "sure";
version = "2.0.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-yPxvq8Dn9phO6ruUJUDkVkblvvC7mf5Z4C2mNOTUuco=";
};
@@ -54,8 +54,8 @@ buildPythonPackage rec {
description = "Utility belt for automated testing";
mainProgram = "sure";
homepage = "https://sure.readthedocs.io/";
changelog = "https://github.com/gabrielfalcao/sure/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/gabrielfalcao/sure/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
})