python3Packages.easydict: migrate to pyproject, enable __structuredAttrs, add changelog, use finalAttrs (#529174)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-09 23:31:52 +00:00
committed by GitHub
@@ -2,25 +2,33 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "easydict";
version = "1.13";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-sRNd7bxByAEOK8H3fsl0TH+qQrzhoch0FnkUSdbId4A=";
};
build-system = [
setuptools
];
doCheck = false; # No tests in archive
pythonImportsCheck = [ "easydict" ];
meta = {
homepage = "https://github.com/makinacorpus/easydict";
license = lib.licenses.lgpl3;
description = "Access dict values as attributes (works recursively)";
homepage = "https://github.com/makinacorpus/easydict";
changelog = "https://github.com/makinacorpus/easydict/releases/tag/${finalAttrs.version}";
license = lib.licenses.lgpl3;
};
}
})