@@ -13,11 +13,12 @@
1313, sphinx
1414, pytestCheckHook
1515, glibcLocales
16+, setuptools-scm
1617}:
1718
1819buildPythonPackage rec {
1920 pname = "fonttools";
20− version = "4.30.0";
21+ version = "4.33.3";
2122
2223 disabled = pythonOlder "3.7";
2324
@@ -25,9 +26,11 @@ buildPythonPackage rec {
2526 owner = pname;
2627 repo = pname;
2728 rev = version;
28− sha256 = "1y9f071bdl66rsx42j16j5v53h85xra5qlg860rz3m054s2rmin9";
29+ sha256 = "MUIZGnYwlfTat9655AOYgK5r6AvHj/xXghUvOZR8HIM=";
2930 };
3031
32+ nativeBuildInputs = [ setuptools-scm ];
33+
3134 # all dependencies are optional, but
3235 # we run the checks with them
3336
@@ -51,6 +54,8 @@ buildPythonPackage rec {
5154 unicodedata2
5255 ];
5356
57+ pythonImportsCheck = [ "fontTools" ];
58+
5459 preCheck = ''
5560 # tests want to execute the "fonttools" executable from $PATH
5661 export PATH="$out/bin:$PATH"
@@ -72,7 +77,6 @@ buildPythonPackage rec {
7277 "Tests/ufoLib"
7378 ];
7479
75−
7680 meta = with lib; {
7781 homepage = "https://github.com/fonttools/fonttools";
7882 description = "A library to manipulate font files from Python";