nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 38 lines 1.3 kB view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "hannom"; 5 version = "2005"; 6 7 src = fetchzip { 8 url = "mirror://sourceforge/vietunicode/hannom/hannom%20v${version}/hannomH.zip"; 9 stripRoot = false; 10 hash = "sha256-Oh8V72tYvVA6Sk0f9UTIkRQYjdUbEB/fmCSaRYfyoP8="; 11 }; 12 13 installPhase = '' 14 runHook preInstall 15 16 mkdir -p $out/share/fonts/truetype 17 mv *.ttf -t $out/share/fonts/truetype 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 description = "UNICODE Han Nom Font Set"; 24 longDescription = '' 25 The true type fonts HAN NOM A and HAN NOM B have been developed by Chan 26 Nguyen Do Quoc Bao (Germany), To Minh Tam (USA) and Ni sinh Thien Vien Vien 27 Chieu (Vietnam). Their work got started in 2001, completed in 2003, and 28 publicized in 2005. These two true type fonts can be used with WIN-2000 or 29 WIN-XP and Office XP or Office 2003 to display Han and Nom characters with 30 code points by the Unicode Standard. Two sets of true type fonts are 31 available with high and low resolutions. 32 ''; 33 homepage = "https://vietunicode.sourceforge.net/fonts/fonts_hannom.html"; 34 license = licenses.unfree; 35 maintainers = with maintainers; [ wegank ]; 36 platforms = platforms.all; 37 }; 38}