python3Packages.esper: use finalAttrs

This commit is contained in:
Sigmanificient
2026-01-06 23:01:18 +01:00
parent 9e6ce105bb
commit ec6e4687ff
@@ -6,7 +6,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "esper";
version = "3.3";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "benmoran56";
repo = "esper";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-DZAF2B40ulSn2MQadklT32Svcm1j0e/hIxrxISO07TI=";
};
@@ -26,8 +26,8 @@ buildPythonPackage rec {
meta = {
description = "ECS (Entity Component System) for Python";
homepage = "https://github.com/benmoran56/esper";
changelog = "https://github.com/benmoran56/esper/blob/${src.rev}/RELEASE_NOTES";
changelog = "https://github.com/benmoran56/esper/blob/${finalAttrs.src.tag}/RELEASE_NOTES";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
})