blob: 1e913c4f4aca6f09be10d9e19265bd0d020a5da9 (
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
53
54
55
|
{
lib,
buildPythonPackage,
fetchPypi,
# build
cython,
setuptools-scm,
setuptools,
# propagates
defcon,
fonttools,
# tests
pytestCheckHook,
}:
let
pname = "cu2qu";
version = "1.6.7.post2";
in
buildPythonPackage rec {
inherit pname version;
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-HfVi2ZvWBZImCI9ENwK/Uc/djMY2I/IxN0WaeNe/WAg=";
extension = "zip";
};
nativeBuildInputs = [
cython
setuptools
setuptools-scm
];
propagatedBuildInputs = [
defcon
fonttools
]
++ fonttools.optional-dependencies.ufo;
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/googlefonts/cu2qu/releases/tag/v${version}";
description = "Cubic-to-quadratic bezier curve conversion";
mainProgram = "cu2qu";
homepage = "https://github.com/googlefonts/cu2qu";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|