2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2014-06-13 04:33:23 +01:00
|
|
|
|
|
|
|
let version = "20030809";
|
|
|
|
in
|
2017-08-10 20:43:49 +01:00
|
|
|
fetchzip {
|
2014-06-13 04:33:23 +01:00
|
|
|
name = "kochi-substitute-naga10-${version}";
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
url = "mirror://sourceforgejp/efont/5411/kochi-substitute-${version}.tar.bz2";
|
2014-06-13 04:33:23 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
|
|
|
tar -xjf $downloadedFile --strip-components=1
|
2014-06-13 04:33:23 +01: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 20:43:49 +01:00
|
|
|
sha256 = "1bjb5cr3wf3d5y7xj1ly2mkv4ndwvg615rb1ql6lsqc2icjxk7j9";
|
|
|
|
|
2014-06-13 04:33:23 +01:00
|
|
|
meta = {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "Japanese font, non-free replacement for MS Gothic and MS Mincho";
|
2014-06-13 04:33:23 +01: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 04:38:37 +01:00
|
|
|
homepage = http://sourceforge.jp/projects/efont/;
|
2019-05-13 02:55:32 +01:00
|
|
|
license = lib.licenses.unfreeRedistributable;
|
|
|
|
maintainers = [ lib.maintainers.auntie ];
|
2014-06-13 04:33:23 +01:00
|
|
|
};
|
|
|
|
}
|