summaryrefslogtreecommitdiff
path: root/pkgs/hiragino-sans/default.nix
blob: 56ae40f02c17b427d432facfa44430ad2f91b563 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenvNoCC }:
stdenvNoCC.mkDerivation {
  pname = "hiragino-sans";
  version = "2024-09-08";
  src = ./Fonts;

  installPhase = ''
    runHook preInstall

    mkdir -p $out/share/fonts/truetype
    cp $src/*.ttc $out/share/fonts/truetype/

    runHook postInstall
  '';

  meta = with lib; {
    homepage = "https://www.myfonts.com/collections/hiragino-sans-font-screen";
    license = licenses.unfree;
    platforms = platforms.all;
  };
}