diff --git a/pkgs/data/fonts/i-dot-ming/default.nix b/pkgs/data/fonts/i-dot-ming/default.nix new file mode 100644 index 000000000000..766440032f3a --- /dev/null +++ b/pkgs/data/fonts/i-dot-ming/default.nix @@ -0,0 +1,22 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9f47f9875b49..0f33727e10be 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22726,6 +22726,8 @@ with pkgs; ia-writer-duospace = callPackage ../data/fonts/ia-writer-duospace { }; + i-dot-ming = callPackage ../data/fonts/i-dot-ming { }; + ibm-plex = callPackage ../data/fonts/ibm-plex { }; iconpack-jade = callPackage ../data/icons/iconpack-jade { };