nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenvNoCC,
4 fetchzip,
5}:
6
7stdenvNoCC.mkDerivation rec {
8 pname = "jigmo";
9 version = "20250912";
10
11 src = fetchzip {
12 url = "https://kamichikoichi.github.io/jigmo/Jigmo-${version}.zip";
13 hash = "sha256-Z9WYPqNjHqnYjRndxtHsQ9XhFshMR50hVkQsXgUMKE8=";
14 stripRoot = false;
15 };
16
17 installPhase = ''
18 runHook preInstall
19
20 install -Dm644 *.ttf -t $out/share/fonts/truetype/
21
22 runHook postInstall
23 '';
24
25 meta = {
26 description = "Japanese Kanji font set which is the official successor to Hanazono Mincho";
27 homepage = "https://kamichikoichi.github.io/jigmo/";
28 license = lib.licenses.cc0;
29 maintainers = [ ];
30 platforms = lib.platforms.all;
31 };
32}