12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-Vt4m18dfFk7qA+KLwRtMdpxo1wX6GG38rrVsJ/mkzAw=";
25 nativeBuildInputs = [ setuptools-scm ];
27 propagatedBuildInputs = [
29 ] ++ fonttools.optional-dependencies.ufo ++ fonttools.optional-dependencies.unicode;
31 nativeCheckInputs = [ pytestCheckHook ];
33 pythonImportsCheck = [ "defcon" ];
35 optional-dependencies = {
37 lxml = [ fonttools ] ++ fonttools.optional-dependencies.lxml;
41 description = "Set of UFO based objects for use in font editing applications";
42 homepage = "https://github.com/robotools/defcon";
43 changelog = "https://github.com/robotools/defcon/releases/tag/${version}";
44 license = licenses.mit;
45 maintainers = with maintainers; [ sternenseemann ];