zilla-slab: init at 1.002

This commit is contained in:
Claas Augner 2017-12-07 20:38:39 +01:00
parent 6d10ecd639
commit 8569087a53
No known key found for this signature in database
GPG Key ID: 6CACC039692829CE
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv, fetchzip }:
let
version = "1.002";
hash = "1b1ys28hyjcl4qwbnsyi6527nj01g3d6id9jl23fv6f8fjm4ph0f";
in fetchzip {
name = "zilla-slab-${version}";
url = "https://github.com/mozilla/zilla-slab/releases/download/v${version}/Zilla-Slab-Fonts-v${version}.zip";
postFetch = ''
unzip $downloadedFile
mkdir -p $out/share/fonts/truetype
cp -v zilla-slab/ttf/*.ttf $out/share/fonts/truetype/
'';
sha256 = hash;
meta = with stdenv.lib; {
homepage = https://github.com/mozilla/zilla-slab;
description = "Zilla Slab fonts";
longDescription = ''
Zilla Slab is Mozilla's core typeface, used
for the Mozilla wordmark, headlines and
throughout their designs. A contemporary
slab serif, based on Typotheque's Tesla, it
is constructed with smooth curves and true
italics, which gives text an unexpectedly
sophisticated industrial look and a friendly
approachability in all weights.
'';
license = licenses.ofl;
maintainers = with maintainers; [ caugner ];
platforms = platforms.all;
};
}

View File

@ -13751,6 +13751,8 @@ with pkgs;
zeal = libsForQt5.callPackage ../data/documentation/zeal { }; zeal = libsForQt5.callPackage ../data/documentation/zeal { };
zilla-slab = callPackage ../data/fonts/zilla-slab { };
### APPLICATIONS ### APPLICATIONS