python39Packages.fonttools: 4.30.0 -> 4.33.3

main
barinov274 2 years ago
parent b2b02f3026
commit 1c2c2009fc
  1. 10
      pkgs/development/python-modules/fonttools/default.nix

@ -13,11 +13,12 @@
, sphinx
, pytestCheckHook
, glibcLocales
, setuptools-scm
}:
buildPythonPackage rec {
pname = "fonttools";
version = "4.30.0";
version = "4.33.3";
disabled = pythonOlder "3.7";
@ -25,9 +26,11 @@ buildPythonPackage rec {
owner = pname;
repo = pname;
rev = version;
sha256 = "1y9f071bdl66rsx42j16j5v53h85xra5qlg860rz3m054s2rmin9";
sha256 = "MUIZGnYwlfTat9655AOYgK5r6AvHj/xXghUvOZR8HIM=";
};
nativeBuildInputs = [ setuptools-scm ];
# all dependencies are optional, but
# we run the checks with them
@ -51,6 +54,8 @@ buildPythonPackage rec {
unicodedata2
];
pythonImportsCheck = [ "fontTools" ];
preCheck = ''
# tests want to execute the "fonttools" executable from $PATH
export PATH="$out/bin:$PATH"
@ -72,7 +77,6 @@ buildPythonPackage rec {
"Tests/ufoLib"
];
meta = with lib; {
homepage = "https://github.com/fonttools/fonttools";
description = "A library to manipulate font files from Python";

Loading…
Cancel
Save