python3Packages.configobj: modernize

This commit is contained in:
Harinn
2026-09-07 18:39:14 +07:00
parent ceb2b2044b
commit 2ef44f8aa4

View File

@@ -8,15 +8,17 @@
six,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "configobj";
version = "5.0.9";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "DiffSK";
repo = "configobj";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-duPCGBaHCXp4A6ZHLnyL1SZtR7K4FJ4hs5wCE1V9WB4=";
};
@@ -33,8 +35,8 @@ buildPythonPackage rec {
meta = {
description = "Config file reading, writing and validation";
homepage = "https://github.com/DiffSK/configobj";
changelog = "https://github.com/DiffSK/configobj/blob/v${version}/CHANGES.rst";
changelog = "https://github.com/DiffSK/configobj/blob/v${finalAttrs.version}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
})