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