blob: 4c63ce7dbf61670ddea5c9a3124560ddac3532f0 (
plain) (
blame)
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
53
54
55
|
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
poetry-core,
inkex,
lxml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "svg2tikz";
version = "3.1.0";
disabled = pythonOlder "3.7";
pyproject = true;
src = fetchFromGitHub {
owner = "xyz2tex";
repo = "svg2tikz";
rev = "refs/tags/v${version}";
hash = "sha256-lL+CQGZMK+rxjw2kTNE6kK3FCt6ARsAD6ROMsXWwDCs=";
};
build-system = [
poetry-core
];
dependencies = [
inkex
lxml
];
pythonRelaxDeps = [
"lxml"
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "svg2tikz" ];
meta = with lib; {
changelog = "https://github.com/xyz2tex/svg2tikz/blob/${src.rev}/CHANGELOG.md";
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
];
};
}
|