2019-05-13 01:55:32 +00:00
|
|
|
{ lib, fetchzip, mkfontscale, mkfontdir }:
|
2017-06-09 07:05:21 +00:00
|
|
|
|
2017-08-11 13:39:01 +00:00
|
|
|
let
|
|
|
|
version = "0.2.20080216.2";
|
|
|
|
in {
|
|
|
|
arphic-ukai = fetchzip {
|
2017-06-09 07:05:21 +00:00
|
|
|
name = "arphic-ukai-${version}";
|
|
|
|
|
2017-08-11 13:39:01 +00:00
|
|
|
url = "http://archive.ubuntu.com/ubuntu/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_${version}.orig.tar.bz2";
|
2017-06-09 07:05:21 +00:00
|
|
|
|
2017-08-11 13:39:01 +00:00
|
|
|
postFetch = ''
|
|
|
|
tar -xjvf $downloadedFile --strip-components=1
|
2017-06-10 08:31:20 +00:00
|
|
|
install -D -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc
|
2017-06-09 07:05:21 +00:00
|
|
|
cd $out/share/fonts
|
2017-08-11 13:39:01 +00:00
|
|
|
${mkfontdir}/bin/mkfontdir
|
|
|
|
${mkfontscale}/bin/mkfontscale
|
2017-06-10 08:31:20 +00:00
|
|
|
'';
|
2017-06-09 07:05:21 +00:00
|
|
|
|
2017-08-11 13:39:01 +00:00
|
|
|
sha256 = "0xi5ycm7ydzpn7cqxv1kcj9vd70nr9wn8v27hmibyjc25y2qdmzl";
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2017-06-09 07:05:21 +00:00
|
|
|
description = "CJK Unicode font Kai style";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.freedesktop.org/wiki/Software/CJKUnifonts/";
|
2017-06-09 07:05:21 +00:00
|
|
|
|
|
|
|
license = licenses.arphicpl;
|
|
|
|
maintainers = [ maintainers.changlinli ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-08-11 13:39:01 +00:00
|
|
|
arphic-uming = fetchzip {
|
2017-06-09 07:05:21 +00:00
|
|
|
name = "arphic-uming-${version}";
|
|
|
|
|
2017-08-11 13:39:01 +00:00
|
|
|
url = "http://archive.ubuntu.com/ubuntu/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_${version}.orig.tar.bz2";
|
2017-06-09 07:05:21 +00:00
|
|
|
|
2017-08-11 13:39:01 +00:00
|
|
|
postFetch = ''
|
|
|
|
tar -xjvf $downloadedFile --strip-components=1
|
2017-06-10 08:31:20 +00:00
|
|
|
install -D -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc
|
2017-06-09 07:05:21 +00:00
|
|
|
cd $out/share/fonts
|
2017-08-11 13:39:01 +00:00
|
|
|
${mkfontdir}/bin/mkfontdir
|
|
|
|
${mkfontscale}/bin/mkfontscale
|
2017-06-10 08:31:20 +00:00
|
|
|
'';
|
2017-06-09 07:05:21 +00:00
|
|
|
|
2017-08-11 13:39:01 +00:00
|
|
|
sha256 = "16jybvj1cxamm682caj6nsm6l5c60x9mgchp1l2izrw2rvc8x38d";
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2017-06-09 07:05:21 +00:00
|
|
|
description = "CJK Unicode font Ming style";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.freedesktop.org/wiki/Software/CJKUnifonts/";
|
2017-06-09 07:05:21 +00:00
|
|
|
|
|
|
|
license = licenses.arphicpl;
|
|
|
|
maintainers = [ maintainers.changlinli ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|