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