python3Packages.foundrytools: init at 0.1.5

This package has a newer version, but it can't be packed since one of
its dependencies, afdko, is too old.
This commit is contained in:
qb114514
2026-03-31 11:47:31 +08:00
parent 82c45a94c9
commit 20b6d30d2c
2 changed files with 62 additions and 0 deletions
@@ -0,0 +1,60 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
afdko,
cffsubr,
defcon,
dehinter,
fonttools,
ttfautohint-py,
ufo2ft,
ufolib2,
ufo-extractor,
}:
buildPythonPackage (finalAttrs: {
pname = "foundrytools";
version = "0.1.5";
pyproject = true;
src = fetchFromGitHub {
owner = "ftCLI";
repo = "FoundryTools";
tag = "v${finalAttrs.version}";
hash = "sha256-dmMu9FTr754ax6dSfz1cn/CgmMVbEECQgyZaW+66UrU=";
};
build-system = [
setuptools
];
dependencies = [
afdko
cffsubr
defcon
dehinter
fonttools
ttfautohint-py
ufo-extractor
ufo2ft
ufolib2
];
# No tests
doCheck = false;
meta = {
description = "Library for working with fonts in Python";
homepage = "https://github.com/ftCLI/FoundryTools";
changelog = "https://github.com/ftCLI/FoundryTools/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
qb114514
];
};
})
+2
View File
@@ -5832,6 +5832,8 @@ self: super: with self; {
inherit (pkgs) foundationdb;
};
foundrytools = callPackage ../development/python-modules/foundrytools { };
fountains = callPackage ../development/python-modules/fountains { };
foxdot = callPackage ../development/python-modules/foxdot { };