1{ buildPythonPackage
2, fetchPypi
3, numpy
4, pytest
5, pytestrunner
6, glibcLocales
7}:
8
9buildPythonPackage rec {
10 pname = "fonttools";
11 version = "3.37.3";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "c898a455a39afbe6707bc17a0e4f720ebe2087fec67683e7c86a13183078204d";
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}