forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
50 lines (43 loc) · 1.01 KB
/
Copy pathdefault.nix
File metadata and controls
50 lines (43 loc) · 1.01 KB
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
{
lib,
babelfont,
buildPythonPackage,
fetchPypi,
fonttools,
lxml,
pytestCheckHook,
youseedee,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "fontfeatures";
version = "1.9.0";
pyproject = true;
build-system = [ setuptools-scm ];
src = fetchPypi {
pname = "fontfeatures";
inherit version;
hash = "sha256-3PpUgaTXyFcthJrFaQqeUOvDYYFosJeXuRFnFrwp0R8=";
};
dependencies = [
fonttools
lxml
];
optional-dependencies.shaper = [
babelfont
youseedee
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# These tests require babelfont but we have to leave it out and skip them
# to break the cyclic dependency with babelfont.
"tests/test_shaping_generic.py"
"tests/test_shaping_harfbuzz.py"
];
meta = {
description = "Python library for compiling OpenType font features";
homepage = "https://github.com/simoncozens/fontFeatures";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ danc86 ];
};
}