blob: 74db531b8ea3b0bb34b2675bd31a0f8b2a53e18a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
lib,
stdenvNoCC,
findutils,
}:
stdenvNoCC.mkDerivation {
pname = "apple-fonts";
version = "2024-09-08";
src = ./Fonts;
nativeBuildInputs = [ findutils ];
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
mkdir -p $out/share/fonts/opentype
find Fonts/*/Fonts/ -name '*.ttf' -exec cp {} "$out/share/fonts/truetype/" \;
find Fonts/*/Fonts/ -name '*.otf' -exec cp {} "$out/share/fonts/opentype/" \;
runHook postInstall
'';
meta = with lib; {
homepage = "https://developer.apple.com/fonts/";
license = licenses.unfree;
platforms = platforms.all;
};
}
|