python3Packages.vfblib: init at 0.7.0

This commit is contained in:
jopejoe1 2024-07-26 07:54:12 +02:00
parent 2da100fd0b
commit e8fd0cf3f6
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{
lib,
fetchFromGitHub,
gitUpdater,
buildPythonPackage,
pytestCheckHook,
setuptools,
fonttools,
typing-extensions,
ufonormalizer,
ufolib2,
defcon,
}:
buildPythonPackage rec {
pname = "vfblib";
version = "0.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "LucasFonts";
repo = "vfbLib";
rev = "v${version}";
hash = "sha256-1F7Em3qX5QKHaGDYVfEOHwYu3PxZUWboe67Hgitvebc=";
};
build-system = [ setuptools ];
dependencies = [
fonttools
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 ];
};
}

View File

@ -17027,6 +17027,8 @@ self: super: with self; {
veryprettytable = callPackage ../development/python-modules/veryprettytable { };
vfblib = callPackage ../development/python-modules/vfblib { };
vg = callPackage ../development/python-modules/vg { };
vharfbuzz = callPackage ../development/python-modules/vharfbuzz { };