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