7 stdenvNoCC.mkDerivation (finalAttrs: {
8 pname = "newcomputermodern";
12 url = "https://git.gnu.org.ua/newcm.git";
13 rev = finalAttrs.version;
14 hash = "sha256-AMzEytBn9PbyYFNJ2CMPg8ejsL3eFhY+eZHXShaLG9E=";
17 nativeBuildInputs = [ fontforge ];
23 for i in sfd/*.sfd; do
24 fontforge -lang=ff -c \
26 Generate($1:r + ".otf");
34 install -m444 -Dt $out/share/fonts/opentype/public sfd/*.otf
39 description = "Computer Modern fonts including matching non-latin alphabets";
40 homepage = "https://ctan.org/pkg/newcomputermodern";
41 # "The GUST Font License (GFL), which is a free license, legally
42 # equivalent to the LaTeX Project Public License (LPPL), version 1.3c or
43 # later." - GUST website
44 license = lib.licenses.lppl13c;
45 maintainers = [ lib.maintainers.drupol ];
46 platforms = lib.platforms.all;