2017-08-10 21:43:49 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2015-03-25 17:53:26 +01:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
let
|
2017-12-11 09:47:17 +01:00
|
|
|
version = "063";
|
2017-08-10 21:43:49 +02:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "mplus-${version}";
|
2015-03-25 17:53:26 +01:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
url = "mirror://sourceforgejp/mplus-fonts/62344/mplus-TESTFLIGHT-${version}.tar.xz";
|
2015-03-25 17:53:26 +01:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
postFetch = ''
|
|
|
|
tar -xJf $downloadedFile --strip-components=1
|
2015-03-25 17:53:26 +01:00
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp *.ttf $out/share/fonts/truetype
|
|
|
|
'';
|
|
|
|
|
2017-12-11 09:47:17 +01:00
|
|
|
sha256 = "0d485l2ihxfk039rrrnfviamlbj13cwky0c752m4ikwvgiqiq94y";
|
2017-08-10 21:43:49 +02:00
|
|
|
|
2015-03-25 17:53:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "M+ Outline Fonts";
|
|
|
|
homepage = http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index-en.html;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ henrytill ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|