Merge pull request #255597 from dotlambda/svg2tikz-2.1.0
python310Packages.svg2tikz: 1.2.0 -> 2.1.0
This commit is contained in:
commit
bc142d260a
@ -10,9 +10,9 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "svg2tikz";
|
||||
version = "1.2.0";
|
||||
version = "2.1.0";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
@ -20,14 +20,9 @@ buildPythonPackage rec {
|
||||
owner = "xyz2tex";
|
||||
repo = "svg2tikz";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-oFcKRcXef1Uz0qFi6Gga/D4u8zW0RjXAnHDlhRr33Ts=";
|
||||
hash = "sha256-v8+0h90uJlkI5eJcwCG55nxPz8n2aJXwP8Ocp48cl9M=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "+dairiki.1" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
@ -44,7 +39,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "svg2tikz" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/xyz2tex/svg2tikz/blob/${src.rev}/README.md#changes-bug-fixes-and-known-problems-from-the-original";
|
||||
changelog = "https://github.com/xyz2tex/svg2tikz/blob/${src.rev}/CHANGELOG.md";
|
||||
homepage = "https://github.com/xyz2tex/svg2tikz";
|
||||
description = "Set of tools for converting SVG graphics to TikZ/PGF code";
|
||||
license = licenses.gpl2Plus;
|
||||
|
Loading…
Reference in New Issue
Block a user