python3Packages.svgdigitizer: modernize

This commit is contained in:
Sarah Clark
2026-07-12 14:15:09 -07:00
parent dfc8eaa132
commit 121c8c223a

View File

@@ -26,15 +26,16 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "svgdigitizer";
version = "0.14.4";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "echemdb";
repo = "svgdigitizer";
tag = version;
tag = finalAttrs.version;
hash = "sha256-sDMSzoXa8RnygFjveh1SrF+bFit7OMQh2kbiZ478cM4=";
};
@@ -86,8 +87,8 @@ buildPythonPackage rec {
meta = {
description = "Extract numerical data points from SVG files";
homepage = "https://github.com/echemdb/svgdigitizer";
changelog = "https://github.com/echemdb/svgdigitizer/blob/${src.tag}/ChangeLog";
changelog = "https://github.com/echemdb/svgdigitizer/blob/${finalAttrs.src.tag}/ChangeLog";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ doronbehar ];
};
}
})