1{ buildPythonPackage
2, fetchPypi
3, numpy
4, pytest
5, pytestrunner
6, glibcLocales
7}:
8
9buildPythonPackage rec {
10 pname = "fonttools";
11 version = "3.29.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "aab38c8c131670684321437d4857dcb4de1c775efd152a9ca9c4d81f1cb97fe7";
16 extension = "zip";
17 };
18
19 buildInputs = [
20 numpy
21 ];
22
23 checkInputs = [
24 pytest
25 pytestrunner
26 glibcLocales
27 ];
28
29 preCheck = ''
30 export LC_ALL="en_US.UTF-8"
31 '';
32
33 meta = {
34 homepage = https://github.com/fonttools/fonttools;
35 description = "A library to manipulate font files from Python";
36 };
37}