lol

python310Packages.svg2tikz: unstable-2021-01-12 -> 1.2.0

Diff: https://github.com/xyz2tex/svg2tikz/compare/refs/tags/vunstable-2021-01-12...v1.2.0

Changelog: https://github.com/xyz2tex/svg2tikz/blob/refs/tags/v1.2.0/README.md#changes-bug-fixes-and-known-problems-from-the-original

authored by

Robert Schütz and committed by
Robert Schütz
6d945d28 5d12e405

+21 -8
+21 -8
pkgs/development/python-modules/svg2tikz/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , pythonOlder 3 4 , fetchFromGitHub 5 + , poetry-core 6 + , inkex 4 7 , lxml 5 8 , pytestCheckHook 6 9 }: 7 10 8 - buildPythonPackage { 11 + buildPythonPackage rec { 9 12 pname = "svg2tikz"; 10 - version = "unstable-2021-01-12"; 13 + version = "1.2.0"; 14 + 15 + disabled = pythonOlder "3.10"; 11 16 12 - format = "setuptools"; 17 + format = "pyproject"; 13 18 14 19 src = fetchFromGitHub { 15 20 owner = "xyz2tex"; 16 21 repo = "svg2tikz"; 17 - rev = "7a9959c295e1ed73e543474c6f3679d04cebc9e9"; 18 - hash = "sha256-OLMFtEEdcY8ARI+hUSOhMwwcrtOAsbKRJRdDJcuaIBg="; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-oFcKRcXef1Uz0qFi6Gga/D4u8zW0RjXAnHDlhRr33Ts="; 19 24 }; 20 25 26 + postPatch = '' 27 + substituteInPlace pyproject.toml \ 28 + --replace "+dairiki.1" "" 29 + ''; 30 + 31 + nativeBuildInputs = [ 32 + poetry-core 33 + ]; 34 + 21 35 propagatedBuildInputs = [ 36 + inkex 22 37 lxml 23 38 ]; 24 39 ··· 26 41 pytestCheckHook 27 42 ]; 28 43 29 - # upstream hasn't updated the tests in a while 30 - doCheck = false; 31 - 32 44 pythonImportsCheck = [ "svg2tikz" ]; 33 45 34 46 meta = with lib; { 47 + changelog = "https://github.com/xyz2tex/svg2tikz/blob/${src.rev}/README.md#changes-bug-fixes-and-known-problems-from-the-original"; 35 48 homepage = "https://github.com/xyz2tex/svg2tikz"; 36 49 description = "Set of tools for converting SVG graphics to TikZ/PGF code"; 37 50 license = licenses.gpl2Plus;