3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/i-dot-ming/default.nix
2021-10-08 22:36:14 +08:00

23 lines
614 B
Nix

{ lib, fetchzip }:
let
version = "7.01";
in
fetchzip {
name = "i.ming-${version}";
url = "https://raw.githubusercontent.com/ichitenfont/I.Ming/${version}/${version}/I.Ming-${version}.ttf";
sha256 = "1b2dj7spkznpkad8a0blqigj9f6ism057r0wn9wdqg5g88yp32vd";
postFetch = ''
install -DT -m444 $downloadedFile $out/share/fonts/truetype/I.Ming/I.Ming.ttf
'';
meta = with lib; {
description = "An open source Pan-CJK serif typeface";
homepage = "https://github.com/ichitenfont/I.Ming";
license = licenses.ipa;
platforms = platforms.all;
maintainers = [ maintainers.linsui ];
};
}