2019-05-13 01:55:32 +00:00
|
|
|
{ lib, fetchzip, p7zip }:
|
2018-04-28 18:09:11 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "rounded-mgenplus";
|
|
|
|
version = "20150602";
|
2019-05-13 01:55:32 +00:00
|
|
|
in fetchzip rec {
|
2018-04-28 18:09:11 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
url = "https://osdn.jp/downloads/users/8/8598/${name}.7z";
|
|
|
|
postFetch = ''
|
|
|
|
${p7zip}/bin/7z x $downloadedFile
|
2018-04-28 18:09:11 +00:00
|
|
|
install -m 444 -D -t $out/share/fonts/${pname} ${pname}-*.ttf
|
|
|
|
'';
|
2019-05-13 01:55:32 +00:00
|
|
|
sha256 = "0vwdknagdrl5dqwpb1x5lxkbfgvbx8dpg7cb6yamgz71831l05v1";
|
2018-04-28 18:09:11 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2018-04-28 18:09:11 +00:00
|
|
|
description = "A Japanese font based on Rounded M+ and Noto Sans Japanese";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://jikasei.me/font/rounded-mgenplus/";
|
2018-04-28 18:09:11 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2018-05-12 22:13:46 +00:00
|
|
|
maintainers = with maintainers; [ mnacamura ];
|
2018-04-28 18:09:11 +00:00
|
|
|
};
|
|
|
|
}
|