python3Packages.django-js-reverse: use finalAttrs

This commit is contained in:
Bruno BELANYI
2026-01-05 12:36:39 +00:00
parent db2eac84d4
commit 6df0990881
@@ -10,7 +10,7 @@
six,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "django-js-reverse";
version = "0.10.2";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "vintasoftware";
repo = "django-js-reverse";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-0S1g8tLWaJVV2QGPeiBOevhz9f0ueINxA9HOcnXuyYg=";
};
@@ -46,8 +46,8 @@ buildPythonPackage rec {
meta = {
description = "Javascript URL handling for Django";
homepage = "https://django-js-reverse.readthedocs.io/";
changelog = "https://github.com/vintasoftware/django-js-reverse/releases/tag/${src.tag}";
changelog = "https://github.com/vintasoftware/django-js-reverse/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ambroisie ];
};
}
})