tmuxPlugins.catppucin: unstable-2024-05-16 -> 2.1.2 (#379030)
[NixPkgs.git] / pkgs / by-name / zi / zilla-slab / package.nix
blob333db7d2248ef2745e5b27db341be70fb4a48c3d
2   lib,
3   stdenvNoCC,
4   fetchzip,
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "zilla-slab";
9   version = "1.002";
11   src = fetchzip {
12     url = "https://github.com/mozilla/zilla-slab/releases/download/v${version}/Zilla-Slab-Fonts-v${version}.zip";
13     stripRoot = false;
14     hash = "sha256-yOHu+dSWlyI7w1N1teED9R1Fphso2bKAlYDC1KdqBCc=";
15   };
17   installPhase = ''
18     runHook preInstall
20     mkdir -p $out/share/fonts/truetype
21     cp -v zilla-slab/ttf/*.ttf $out/share/fonts/truetype/
23     runHook postInstall
24   '';
26   meta = with lib; {
27     homepage = "https://github.com/mozilla/zilla-slab";
28     description = "Zilla Slab fonts";
29     longDescription = ''
30       Zilla Slab is Mozilla's core typeface, used
31       for the Mozilla wordmark, headlines and
32       throughout their designs. A contemporary
33       slab serif, based on Typotheque's Tesla, it
34       is constructed with smooth curves and true
35       italics, which gives text an unexpectedly
36       sophisticated industrial look and a friendly
37       approachability in all weights.
38     '';
39     license = licenses.ofl;
40     maintainers = with maintainers; [ caugner ];
41     platforms = platforms.all;
42   };