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