mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
43 lines
813 B
Nix
43 lines
813 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, glyphslib
|
|
, setuptools-scm
|
|
, ufo2ft
|
|
, fonttools
|
|
, fontmath
|
|
, lxml
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fontmake";
|
|
version = "3.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-g/JTmYE078qAFcTVCumVvGj65LbnDsCIUsFfqVlihTk=";
|
|
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 ];
|
|
};
|
|
}
|