f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
49 lines
954 B
Nix
49 lines
954 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|