2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
glyphslib,
|
|
|
|
setuptools-scm,
|
|
|
|
ufo2ft,
|
|
|
|
fonttools,
|
|
|
|
fontmath,
|
|
|
|
lxml,
|
|
|
|
setuptools,
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fontmake";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.9.0";
|
|
|
|
pyproject = true;
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-KrfT0fvE1fhaM2RH4LqRUda7yMHg2T59UdGi3SSZP7s=";
|
2022-04-27 09:35:20 +00:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
glyphslib
|
|
|
|
ufo2ft
|
|
|
|
fonttools
|
|
|
|
fontmath
|
|
|
|
lxml
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "fontmake" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Compiles fonts from various sources (.glyphs, .ufo, designspace) into binaries formats (.otf, .ttf)";
|
|
|
|
homepage = "https://github.com/googlefonts/fontmake";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.BarinovMaxim ];
|
|
|
|
};
|
|
|
|
}
|