python3Packages.easydict: migrate to pyproject, enable __structuredAttrs, add changelog, use finalAttrs (#529174)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user