Loading pkgs/development/python-modules/svg2tikz/default.nix +21 −8 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , poetry-core , inkex , lxml , pytestCheckHook }: buildPythonPackage { buildPythonPackage rec { pname = "svg2tikz"; version = "unstable-2021-01-12"; version = "1.2.0"; format = "setuptools"; disabled = pythonOlder "3.10"; format = "pyproject"; src = fetchFromGitHub { owner = "xyz2tex"; repo = "svg2tikz"; rev = "7a9959c295e1ed73e543474c6f3679d04cebc9e9"; hash = "sha256-OLMFtEEdcY8ARI+hUSOhMwwcrtOAsbKRJRdDJcuaIBg="; rev = "refs/tags/v${version}"; hash = "sha256-oFcKRcXef1Uz0qFi6Gga/D4u8zW0RjXAnHDlhRr33Ts="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "+dairiki.1" "" ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ inkex lxml ]; Loading @@ -26,12 +41,10 @@ buildPythonPackage { pytestCheckHook ]; # upstream hasn't updated the tests in a while doCheck = false; 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"; homepage = "https://github.com/xyz2tex/svg2tikz"; description = "Set of tools for converting SVG graphics to TikZ/PGF code"; license = licenses.gpl2Plus; Loading Loading
pkgs/development/python-modules/svg2tikz/default.nix +21 −8 Original line number Diff line number Diff line { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , poetry-core , inkex , lxml , pytestCheckHook }: buildPythonPackage { buildPythonPackage rec { pname = "svg2tikz"; version = "unstable-2021-01-12"; version = "1.2.0"; format = "setuptools"; disabled = pythonOlder "3.10"; format = "pyproject"; src = fetchFromGitHub { owner = "xyz2tex"; repo = "svg2tikz"; rev = "7a9959c295e1ed73e543474c6f3679d04cebc9e9"; hash = "sha256-OLMFtEEdcY8ARI+hUSOhMwwcrtOAsbKRJRdDJcuaIBg="; rev = "refs/tags/v${version}"; hash = "sha256-oFcKRcXef1Uz0qFi6Gga/D4u8zW0RjXAnHDlhRr33Ts="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace "+dairiki.1" "" ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ inkex lxml ]; Loading @@ -26,12 +41,10 @@ buildPythonPackage { pytestCheckHook ]; # upstream hasn't updated the tests in a while doCheck = false; 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"; homepage = "https://github.com/xyz2tex/svg2tikz"; description = "Set of tools for converting SVG graphics to TikZ/PGF code"; license = licenses.gpl2Plus; Loading