{ lib, fetchFromGitHub, gitUpdater, buildPythonPackage, pytestCheckHook, setuptools, setuptools-scm, fonttools, orjson, typing-extensions, ufonormalizer, ufolib2, defcon, }: buildPythonPackage rec { pname = "vfblib"; version = "0.10.2"; pyproject = true; src = fetchFromGitHub { owner = "LucasFonts"; repo = "vfbLib"; tag = "v${version}"; hash = "sha256-lcYk6h2kWFIknCHKkrxdSKab7szvSZhFwmFvkT6VTEo="; }; build-system = [ setuptools setuptools-scm ]; dependencies = [ fonttools orjson typing-extensions ufonormalizer ufolib2 defcon ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "vfbLib" ]; passthru.updateScript = gitUpdater { rev-prefix = "v"; }; meta = with lib; { description = "Converter and deserializer for FontLab Studio 5 VFB files"; homepage = "https://github.com/LucasFonts/vfbLib"; license = licenses.gpl3Only; maintainers = with maintainers; [ jopejoe1 ]; }; }