mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 23:21:27 +00:00
python3Packages.svgdigitizer: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user