diff options
author | Claas Augner <github@caugner.de> | 2017-12-07 20:38:39 +0100 |
---|---|---|
committer | Claas Augner <github@caugner.de> | 2017-12-07 20:48:39 +0100 |
commit | 8569087a53a6649adf8eafc86053c4813f5e0762 (patch) | |
tree | df0fe06681b7b48fa086149d0778ecdd48f2cc81 /pkgs/data/fonts/zilla-slab/default.nix | |
parent | 6d10ecd63954cb5b24f58d173f399affb60dcbf7 (diff) | |
download | nixpkgs-8569087a53a6649adf8eafc86053c4813f5e0762.tar nixpkgs-8569087a53a6649adf8eafc86053c4813f5e0762.tar.gz nixpkgs-8569087a53a6649adf8eafc86053c4813f5e0762.tar.bz2 nixpkgs-8569087a53a6649adf8eafc86053c4813f5e0762.tar.lz nixpkgs-8569087a53a6649adf8eafc86053c4813f5e0762.tar.xz nixpkgs-8569087a53a6649adf8eafc86053c4813f5e0762.tar.zst nixpkgs-8569087a53a6649adf8eafc86053c4813f5e0762.zip |
zilla-slab: init at 1.002
Diffstat (limited to 'pkgs/data/fonts/zilla-slab/default.nix')
-rw-r--r-- | pkgs/data/fonts/zilla-slab/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/data/fonts/zilla-slab/default.nix b/pkgs/data/fonts/zilla-slab/default.nix new file mode 100644 index 00000000000..d77d6d8b301 --- /dev/null +++ b/pkgs/data/fonts/zilla-slab/default.nix @@ -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; + }; +} |