blob: e9caf8ad705e34c54f7dc01645be08fd112be8ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
inkex,
lxml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "svg2tikz";
version = "3.3.4";
pyproject = true;
src = fetchFromGitHub {
owner = "xyz2tex";
repo = "svg2tikz";
tag = "v${version}";
hash = "sha256-hIVxrUqT9g3e8eKdz1xPqRBiN62BPLav+xPHm6WCAqw=";
};
build-system = [
poetry-core
];
dependencies = [
inkex
lxml
];
pythonRelaxDeps = [
"inkex"
"lxml"
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "svg2tikz" ];
meta = {
changelog = "https://github.com/xyz2tex/svg2tikz/blob/${src.tag}/CHANGELOG.md";
homepage = "https://github.com/xyz2tex/svg2tikz";
description = "Set of tools for converting SVG graphics to TikZ/PGF code";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [
dotlambda
gal_bolle
];
};
}
|