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
@@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
fetchzip {
name = "ttf-bitstream-vera-1.10";
@@ -7,14 +7,11 @@ fetchzip {
postFetch = ''
tar -xjf $downloadedFile --strip-components=1
fontDir=$out/share/fonts/truetype
mkdir -p $fontDir
cp *.ttf $fontDir
install -m444 -Dt $out/share/fonts/truetype *.ttf
'';
sha256 = "179hal4yi3367jg8rsvqx6h2w4s0kn9zzrv8c47sslyg28g39s4m";
meta = {
platforms = stdenv.lib.platforms.unix;
};
}