blob: 03bc8a0db4dabe9278d50a58c7e21ebdf6cdb463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, fetchzip }:
let
version = "063a";
in fetchzip rec {
name = "mplus-${version}";
url = "mirror://osdn/mplus-fonts/62344/mplus-TESTFLIGHT-${version}.tar.xz";
postFetch = ''
tar -xJf $downloadedFile --strip-components=1
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
sha256 = "1khbkch2r96ppifc93bmy1v047pgciyhfmcjb98ggncp5ix885xz";
meta = with lib; {
description = "M+ Outline Fonts";
homepage = "https://mplus-fonts.osdn.jp/about-en.html";
license = licenses.mit;
maintainers = with maintainers; [ henrytill ];
platforms = platforms.all;
};
}
|