blob: 5b147d8ebad0028db8442120c864707a2e96a687 (
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,
fetchFromGitHub,
gitUpdater,
buildPythonPackage,
pytestCheckHook,
setuptools,
setuptools-scm,
fonttools,
orjson,
typing-extensions,
ufonormalizer,
ufolib2,
defcon,
}:
buildPythonPackage rec {
pname = "vfblib";
version = "0.10.4";
pyproject = true;
src = fetchFromGitHub {
owner = "LucasFonts";
repo = "vfbLib";
tag = "v${version}";
hash = "sha256-fAczRejHDe02iWMWXQzNHLmxRX5ApIPvUzsYnwqrKn8=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
fonttools
orjson
typing-extensions
ufonormalizer
ufolib2
defcon
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "vfbLib" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
description = "Converter and deserializer for FontLab Studio 5 VFB files";
homepage = "https://github.com/LucasFonts/vfbLib";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ jopejoe1 ];
};
}
|