tai-ahom: init at 2015-07-06

This commit is contained in:
Mathnerd314 2015-10-18 13:35:09 -06:00
parent f15c5a66e7
commit 1219fcf89c
2 changed files with 27 additions and 0 deletions

View File

@ -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)
}

View File

@ -10677,6 +10677,8 @@ let
source-han-sans-simplified-chinese = sourceHanSansPackages.simplified-chinese;
source-han-sans-traditional-chinese = sourceHanSansPackages.traditional-chinese;
inherit (callPackages ../data/fonts/tai-languages { }) tai-ahom;
tango-icon-theme = callPackage ../data/icons/tango-icon-theme { };
themes = name: callPackage (../data/misc/themes + ("/" + name + ".nix")) {};