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