mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
26 lines
623 B
Nix
26 lines
623 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "063a";
|
|
in fetchzip {
|
|
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;
|
|
};
|
|
}
|