1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 beziers,
6 glyphslib,
7 numpy,
8}:
9
10buildPythonPackage rec {
11 pname = "glyphtools";
12 version = "0.8.0";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-PXwXHWMJbsi6ZtN+daaXAnlw3gV5DFAhyRxdBa7UP+M=";
18 };
19
20 propagatedBuildInputs = [
21 beziers
22 glyphslib
23 numpy
24 ];
25
26 # A unit test suite does exist, but it only contains a dummy test that
27 # imports the library.
28 doCheck = false;
29
30 pythonImportsCheck = [ "glyphtools" ];
31
32 meta = with lib; {
33 description = "Python library for extracting information from font glyphs";
34 homepage = "https://github.com/simoncozens/glyphtools";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ danc86 ];
37 };
38}