From 836270328fdb61f3d6e362028044a7f1fd2ab5f9 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 9 Mar 2024 04:20:00 +0000 Subject: [PATCH] jigmo: init at 20230816 --- pkgs/by-name/ji/jigmo/package.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/ji/jigmo/package.nix diff --git a/pkgs/by-name/ji/jigmo/package.nix b/pkgs/by-name/ji/jigmo/package.nix new file mode 100644 index 000000000000..18c84916dbf5 --- /dev/null +++ b/pkgs/by-name/ji/jigmo/package.nix @@ -0,0 +1,27 @@ +{ lib, stdenvNoCC, fetchzip }: + +stdenvNoCC.mkDerivation rec { + pname = "jigmo"; + version = "20230816"; + + src = fetchzip { + url = "https://kamichikoichi.github.io/jigmo/Jigmo-${version}.zip"; + hash = "sha256-wBec7IiUneqCEyY704Wi6F6WG0Z1KK7gBGcJhRjrRDc="; + }; + + installPhase = '' + runHook preInstall + + install -Dm644 *.ttf -t $out/share/fonts/truetype/ + + runHook postInstall + ''; + + meta = with lib; { + description = "Japanese Kanji font set which is the official successor to Hanazono Mincho"; + homepage = "https://kamichikoichi.github.io/jigmo/"; + license = licenses.cc0; + maintainers = [ maintainers.marsam ]; + platforms = platforms.all; + }; +}