2015-03-25 17:53:26 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mplus-${version}";
|
2016-10-29 05:37:18 +02:00
|
|
|
version = "062";
|
2015-03-25 17:53:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-09-29 13:52:16 +02:00
|
|
|
url = "mirror://sourceforgejp/mplus-fonts/62344/mplus-TESTFLIGHT-${version}.tar.xz";
|
2016-10-29 05:37:18 +02:00
|
|
|
sha256 = "1f44vmnma5njhfiz351gwblxmdh9njv486864zrxqaa1h5pvdhha";
|
2015-03-25 17:53:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp *.ttf $out/share/fonts/truetype
|
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|