diff options
author | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-10-18 13:35:09 -0600 |
---|---|---|
committer | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-10-18 18:45:20 -0600 |
commit | 1219fcf89ca7081f36070a103212f57c08124771 (patch) | |
tree | f4524b126fd3600ca0783011da45f548260ba32c /pkgs/data | |
parent | f15c5a66e70c2823ff2038da397b83818d27f7c4 (diff) |
tai-ahom: init at 2015-07-06
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/tai-languages/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/data/fonts/tai-languages/default.nix b/pkgs/data/fonts/tai-languages/default.nix new file mode 100644 index 0000000000000..0b9a63f2cb388 --- /dev/null +++ b/pkgs/data/fonts/tai-languages/default.nix @@ -0,0 +1,25 @@ +{ lib, runCommand, fetchurl }: + +{ +tai-ahom = runCommand "tai-ahom-2015-07-06" { + src = fetchurl { + url = "https://github.com/enabling-languages/tai-languages/blob/b57a3ea4589af69bb8e87c6c4bb7cd367b52f0b7/ahom/.fonts/ttf/.original/AhomUnicode_FromMartin.ttf?raw=true"; + sha256 = "0zpjsylm29qc3jdv5kv0689pcirai46j7xjp5dppi0fmzxaxqnsk"; + }; + + meta = with lib; { + homepage = https://github.com/enabling-languages/tai-languages; + description = "Unicode-compliant Tai Ahom font"; + maintainers = with maintainers; [ mathnerd314 ]; + license = licenses.ofl; # See font metadata + platforms = platforms.all; + }; +} +'' + mkdir -p $out/share/fonts/truetype + cp $src $out/share/fonts/truetype/AhomUnicode.ttf +''; + +# TODO: package others (Khamti Shan, Tai Aiton, Tai Phake, and/or Assam Tai) + +} |