8 stdenvNoCC.mkDerivation (finalAttrs: {
12 src = fetchFromGitHub {
13 owner = "nomfoundation";
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-DMKL5a830V07U4Pogp2EQtGQUJ26d3F4u7ce5aWPAI8=";
21 python3Packages.fonttools
24 sourceRoot = "${finalAttrs.src.name}/src";
29 makeotf -r -f font.pfa -omitMacNames -ff features.txt -mf FontMenuNameDB -ga -ci UnicodeVariationSequences.txt
30 otf2ttf NomNaTong-Regular.otf
31 sfntedit -d DSIG NomNaTong-Regular.otf
39 install -Dm444 NomNaTong-Regular.otf -t $out/share/fonts/opentype/
40 install -Dm444 NomNaTong-Regular.ttf -t $out/share/fonts/truetype/
45 passthru.updateScript = nix-update-script { };
48 homepage = "http://nomfoundation.org/nom-tools/Nom-Font";
49 description = "Hán-Nôm Coded Character Set and Nom Na Tong Regular Reference Font";
50 license = lib.licenses.mit;
51 maintainers = with lib.maintainers; [ ];
52 platforms = lib.platforms.all;