python3Packages.notobuilder: init at 0-unstable-2024-08-03
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
unstableGitUpdater,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
fonttools,
|
||||
ufomerge,
|
||||
fontmake,
|
||||
glyphslib,
|
||||
ttfautohint-py,
|
||||
ufo2ft,
|
||||
gftools,
|
||||
fontbakery,
|
||||
diffenator2,
|
||||
chevron,
|
||||
sh,
|
||||
ninja,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "notobuilder";
|
||||
version = "0-unstable-2024-08-03";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "notofonts";
|
||||
repo = "notobuilder";
|
||||
rev = "d7bcfc8e5c5ee9b273e7b1eeb2dd6d619da68c33";
|
||||
hash = "sha256-1tdHbJixd1s1grGh0enqXhp+u5TEic6/W88X/f8vagM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Lib/notobuilder/__main__.py \
|
||||
--replace-fail '"ninja"' '"${lib.getExe ninja}"'
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
fonttools
|
||||
ufomerge
|
||||
fontmake
|
||||
glyphslib
|
||||
ttfautohint-py
|
||||
ufo2ft
|
||||
gftools
|
||||
fontbakery
|
||||
diffenator2
|
||||
chevron
|
||||
sh
|
||||
] ++ gftools.optional-dependencies.qa;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"notobuilder"
|
||||
"notoqa"
|
||||
];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Python module for building Noto fonts";
|
||||
homepage = "https://github.com/notofonts/notobuilder";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [ jopejoe1 ];
|
||||
};
|
||||
}
|
||||
@@ -9294,6 +9294,8 @@ self: super: with self; {
|
||||
inherit (pkgs) notmuch;
|
||||
};
|
||||
|
||||
notobuilder = callPackage ../development/python-modules/notobuilder { };
|
||||
|
||||
nototools = callPackage ../development/python-modules/nototools { };
|
||||
|
||||
notus-scanner = callPackage ../development/python-modules/notus-scanner { };
|
||||
|
||||
Reference in New Issue
Block a user