1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 babelfont,
6 kurbopy,
7 fonttools,
8 skia-pathops,
9 tqdm,
10 uharfbuzz,
11 unittestCheckHook,
12}:
13
14buildPythonPackage rec {
15 pname = "collidoscope";
16 version = "0.6.5";
17 format = "setuptools";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-D7MzJ8FZjA/NSXCqCJQ9a02FPPi3t4W0q65wRIDcfSA=";
22 };
23
24 propagatedBuildInputs = [
25 babelfont
26 kurbopy
27 fonttools
28 skia-pathops
29 tqdm
30 uharfbuzz
31 ];
32
33 nativeCheckInputs = [ unittestCheckHook ];
34 unittestFlagsArray = [
35 "-s"
36 "test"
37 "-v"
38 ];
39
40 meta = with lib; {
41 description = "Python library to detect glyph collisions in fonts";
42 homepage = "https://github.com/googlefonts/collidoscope";
43 license = licenses.mit;
44 maintainers = with maintainers; [ danc86 ];
45 };
46}