···1+{ lib, fetchzip }:
2+3+let
4+ version = "2005";
5+in fetchzip {
6+ name = "hannom-${version}";
7+8+ url = "mirror://sourceforge/vietunicode/hannom/hannom%20v${version}/hannomH.zip";
9+10+ postFetch = ''
11+ mkdir -p $out/share/fonts
12+ unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
13+ '';
14+15+ sha256 = "sha256-zOYJxEHl4KM0ncVQDBs9+e3z8DxzF2ef3pRj0OVSuUo=";
16+17+ meta = with lib; {
18+ description = "UNICODE Han Nom Font Set";
19+ homepage = "http://vietunicode.sourceforge.net/fonts/fonts_hannom.html";
20+ longDescription = ''
21+ The true type fonts HAN NOM A and HAN NOM B have been developed by Chan
22+ Nguyen Do Quoc Bao (Germany), To Minh Tam (USA) and Ni sinh Thien Vien Vien
23+ Chieu (Vietnam). Their work got started in 2001, completed in 2003, and
24+ publicized in 2005. These two true type fonts can be used with WIN-2000 or
25+ WIN-XP and Office XP or Office 2003 to display Han and Nom characters with
26+ code points by the Unicode Standard. Two sets of true type fonts are
27+ available with high and low resolutions.
28+ '';
29+ license = licenses.unfree;
30+ maintainers = with maintainers; [ wegank ];
31+ platforms = platforms.all;
32+ };
33+}