nixos/java: No bashisms in `environment.shellInit` script (#294121)
[NixPkgs.git] / pkgs / development / python-modules / svg2tikz / default.nix
blobe295f2bdc6eab80b9f9c6cb153100c81cc87cc8c
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   inkex,
8   lxml,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "svg2tikz";
14   version = "3.2.0";
16   disabled = pythonOlder "3.7";
18   pyproject = true;
20   src = fetchFromGitHub {
21     owner = "xyz2tex";
22     repo = "svg2tikz";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-5SOUvrK83ff1x4MTVoJy68OaDmZUfrEwraEWmPMJKTA=";
25   };
27   build-system = [
28     poetry-core
29   ];
31   dependencies = [
32     inkex
33     lxml
34   ];
36   pythonRelaxDeps = [
37     "lxml"
38   ];
41   nativeCheckInputs = [ pytestCheckHook ];
43   pythonImportsCheck = [ "svg2tikz" ];
45   meta = with lib; {
46     changelog = "https://github.com/xyz2tex/svg2tikz/blob/${src.rev}/CHANGELOG.md";
47     homepage = "https://github.com/xyz2tex/svg2tikz";
48     description = "Set of tools for converting SVG graphics to TikZ/PGF code";
49     license = licenses.gpl2Plus;
50     maintainers = with maintainers; [
51       dotlambda
52       gal_bolle
53     ];
54   };