python39Packages.glyphslib: init at 6.0.4

This commit is contained in:
barinov274 2022-04-27 22:49:57 +10:00
parent a12295c1f9
commit ae3522a453
2 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,59 @@
{ lib
, buildPythonPackage
, fetchPypi
, fonttools
, openstep-plist
, ufoLib2
, pytestCheckHook
, unicodedata2
, setuptools-scm
, ufonormalizer
, xmldiff
, defcon
, ufo2ft
, skia-pathops
}:
buildPythonPackage rec {
pname = "glyphslib";
version = "6.0.4";
format = "pyproject";
src = fetchPypi {
pname = "glyphsLib";
inherit version;
sha256 = "sha256-PT66n1WEO5FNcwov8GaXT1YNrAi22X4HN7iVNkuehKI=";
};
nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "glyphsLib" ];
propagatedBuildInputs = [
fonttools
openstep-plist
ufoLib2
unicodedata2
ufonormalizer
xmldiff
defcon
ufo2ft
skia-pathops
];
disabledTestPaths = [
"tests/builder/designspace_gen_test.py" # this test tries to use non-existent font "CoolFoundry Examplary Serif"
"tests/builder/interpolation_test.py" # this test tries to use a font that previous test should made
];
meta = {
description = "Bridge from Glyphs source files (.glyphs) to UFOs and Designspace files via defcon and designspaceLib";
homepage = "https://github.com/googlefonts/glyphsLib";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.BarinovMaxim ];
};
}

View File

@ -3111,6 +3111,8 @@ in {
openstep-plist = callPackage ../development/python-modules/openstep-plist { };
glyphslib = callPackage ../development/python-modules/glyphslib { };
foobot-async = callPackage ../development/python-modules/foobot-async { };
foolscap = callPackage ../development/python-modules/foolscap { };