nixpkgs/pkgs/data/fonts/mplus-outline-fonts/default.nix
Will Dietz 064d157a85
mplus-outline-fonts: 063 -> 063a
https://osdn.net/projects/mplus-fonts/news/26002
(google translate helps for those who can't read this :))
2019-05-28 19:50:47 -05:00

26 lines
660 B
Nix

{ lib, fetchzip }:
let
version = "063a";
in fetchzip rec {
name = "mplus-${version}";
url = "mirror://sourceforgejp/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 = http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index-en.html;
license = licenses.mit;
maintainers = with maintainers; [ henrytill ];
platforms = platforms.all;
};
}