depot/third_party/nixpkgs/pkgs/development/python-modules/svg2tikz/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

40 lines
834 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, pytestCheckHook
}:
buildPythonPackage {
pname = "svg2tikz";
version = "unstable-2021-01-12";
format = "setuptools";
src = fetchFromGitHub {
owner = "xyz2tex";
repo = "svg2tikz";
rev = "7a9959c295e1ed73e543474c6f3679d04cebc9e9";
hash = "sha256-OLMFtEEdcY8ARI+hUSOhMwwcrtOAsbKRJRdDJcuaIBg=";
};
propagatedBuildInputs = [
lxml
];
nativeCheckInputs = [
pytestCheckHook
];
# upstream hasn't updated the tests in a while
doCheck = false;
pythonImportsCheck = [ "svg2tikz" ];
meta = with lib; {
homepage = "https://github.com/xyz2tex/svg2tikz";
description = "Set of tools for converting SVG graphics to TikZ/PGF code";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dotlambda gal_bolle ];
};
}