data/fonts: cleanup

* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
This commit is contained in:
volth
2019-05-13 06:03:31 +00:00
parent 1df1834dd1
commit c9eb44eab3
177 changed files with 789 additions and 929 deletions
+3 -4
View File
@@ -1,8 +1,7 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "1.002";
hash = "1b1ys28hyjcl4qwbnsyi6527nj01g3d6id9jl23fv6f8fjm4ph0f";
in fetchzip {
name = "zilla-slab-${version}";
@@ -12,9 +11,9 @@ in fetchzip {
mkdir -p $out/share/fonts/truetype
cp -v zilla-slab/ttf/*.ttf $out/share/fonts/truetype/
'';
sha256 = hash;
sha256 = "1b1ys28hyjcl4qwbnsyi6527nj01g3d6id9jl23fv6f8fjm4ph0f";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/mozilla/zilla-slab;
description = "Zilla Slab fonts";
longDescription = ''