mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-06 21:33:45 +00:00
This package has a newer version, but it can't be packed since one of its dependencies, afdko, is too old.
61 lines
1.0 KiB
Nix
61 lines
1.0 KiB
Nix
{
|
|
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
|
|
];
|
|
};
|
|
})
|