2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchzip }:
|
2015-03-25 17:53:26 +01:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
let
|
2019-05-26 03:35:29 +02:00
|
|
|
version = "063a";
|
2017-08-10 21:43:49 +02:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "mplus-${version}";
|
2015-03-25 17:53:26 +01:00
|
|
|
|
2019-06-09 06:25:47 +02:00
|
|
|
url = "mirror://osdn/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
|
|
|
|
'';
|
|
|
|
|
2019-05-26 03:35:29 +02:00
|
|
|
sha256 = "1khbkch2r96ppifc93bmy1v047pgciyhfmcjb98ggncp5ix885xz";
|
2017-08-10 21:43:49 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2015-03-25 17:53:26 +01:00
|
|
|
description = "M+ Outline Fonts";
|
2019-06-09 06:48:34 +02:00
|
|
|
homepage = "https://mplus-fonts.osdn.jp/about-en.html";
|
2015-03-25 17:53:26 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ henrytill ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|