7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
51 lines
962 B
Nix
51 lines
962 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
setuptools-scm,
|
|
fonttools,
|
|
pyparsing,
|
|
ufolib2,
|
|
ufo2ft,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "vttlib";
|
|
version = "0.12.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "daltonmaag";
|
|
repo = "vttLib";
|
|
rev = "v${version}";
|
|
hash = "sha256-ChsuzeFRQFDYGlAE4TWzE+et7yGLOfha1VqGcOdayOs=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
fonttools
|
|
pyparsing
|
|
ufolib2
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
ufo2ft
|
|
];
|
|
|
|
pythonImportsCheck = [ "vttLib" ];
|
|
|
|
meta = {
|
|
description = "Dump, merge and compile Visual TrueType data in UFO3 with FontTools";
|
|
homepage = "https://github.com/daltonmaag/vttLib";
|
|
changelog = "https://github.com/daltonmaag/vttLib/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ jopejoe1 ];
|
|
};
|
|
}
|