python3Packages.case-converter: use finalAttrs

This commit is contained in:
Sigmanificient
2026-01-06 22:58:44 +01:00
parent ed73ab05bf
commit 3b4e40f0a3
@@ -6,7 +6,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "case-converter";
version = "1.2.0";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "chrisdoherty4";
repo = "python-case-converter";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-PS/9Ndl3oD9zimEf819dNoSAeNJPndVjT+dkfW7FIJs=";
};
@@ -29,8 +29,8 @@ buildPythonPackage rec {
meta = {
description = "Case conversion library for Python";
homepage = "https://github.com/chrisdoherty4/python-case-converter";
changelog = "https://github.com/chrisdoherty4/python-case-converter/releases/tag/${src.tag}";
changelog = "https://github.com/chrisdoherty4/python-case-converter/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
})