2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchzip }:
|
2014-06-13 05:33:23 +02:00
|
|
|
|
|
|
|
let version = "20030809";
|
|
|
|
in
|
2017-08-10 21:43:49 +02:00
|
|
|
fetchzip {
|
2014-06-13 05:33:23 +02:00
|
|
|
name = "kochi-substitute-naga10-${version}";
|
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
url = "mirror://sourceforgejp/efont/5411/kochi-substitute-${version}.tar.bz2";
|
2014-06-13 05:33:23 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
postFetch = ''
|
|
|
|
tar -xjf $downloadedFile --strip-components=1
|
2014-06-13 05:33:23 +02:00
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp ./kochi-gothic-subst.ttf $out/share/fonts/truetype/kochi-gothic-subst-naga10.ttf
|
|
|
|
cp ./kochi-mincho-subst.ttf $out/share/fonts/truetype/kochi-mincho-subst-naga10.ttf
|
|
|
|
'';
|
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
sha256 = "1bjb5cr3wf3d5y7xj1ly2mkv4ndwvg615rb1ql6lsqc2icjxk7j9";
|
|
|
|
|
2014-06-13 05:33:23 +02:00
|
|
|
meta = {
|
2014-11-11 14:20:43 +01:00
|
|
|
description = "Japanese font, non-free replacement for MS Gothic and MS Mincho";
|
2014-06-13 05:33:23 +02:00
|
|
|
longDescription = ''
|
|
|
|
Kochi Gothic and Kochi Mincho were developed as free replacements for the
|
|
|
|
MS Gothic and MS Mincho fonts from Microsoft. This version of the fonts
|
|
|
|
includes some non-free glyphs from the naga10 font, which stipulate that
|
|
|
|
this font may not be sold commercially. See kochi-substitute for the free
|
|
|
|
Debian version.
|
|
|
|
'';
|
2014-06-13 05:38:37 +02:00
|
|
|
homepage = http://sourceforge.jp/projects/efont/;
|
2019-05-13 03:55:32 +02:00
|
|
|
license = lib.licenses.unfreeRedistributable;
|
|
|
|
maintainers = [ lib.maintainers.auntie ];
|
2014-06-13 05:33:23 +02:00
|
|
|
};
|
|
|
|
}
|