depot/third_party/nixpkgs/pkgs/development/python-modules/vfblib/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

49 lines
954 B
Nix

{
lib,
fetchFromGitHub,
gitUpdater,
buildPythonPackage,
pytestCheckHook,
setuptools,
fonttools,
typing-extensions,
ufonormalizer,
ufolib2,
defcon,
}:
buildPythonPackage rec {
pname = "vfblib";
version = "0.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "LucasFonts";
repo = "vfbLib";
rev = "v${version}";
hash = "sha256-p+uoSB3LIEi1Zvm8HgsOJcRXngZWXj3BwIlxqIBfmB4=";
};
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 ];
};
}