google-fonts: Turn into a fixed-output derivation

Also remove the executable bit from some fonts, and don't build on
Hydra because this package is huge.

+9 -2
+9 -2
pkgs/data/fonts/google-fonts/default.nix
··· 12 12 phases = [ "unpackPhase" "installPhase" ]; 13 13 14 14 installPhase = '' 15 - mkdir -p $out/share/fonts/truetype 16 - find . -name "*.ttf" -exec cp -v {} $out/share/fonts/truetype \; 15 + dest=$out/share/fonts/truetype 16 + mkdir -p $dest 17 + find . -name "*.ttf" -exec cp -v {} $dest \; 18 + chmod -x $dest/*.ttf 17 19 ''; 18 20 21 + outputHashAlgo = "sha256"; 22 + outputHashMode = "recursive"; 23 + outputHash = "0q03gg0sh2mljlbmhamnxz28d13znh9dzca84p554s7pwg6z4wca"; 24 + 19 25 meta = with stdenv.lib; { 20 26 homepage = https://www.google.com/fontsl; 21 27 description = "Font files available from Google Font"; 22 28 license = with licenses; [ asl20 ofl ufl ]; 23 29 platforms = platforms.all; 30 + hydraPlatforms = []; 24 31 maintainers = with maintainers; [ manveru ]; 25 32 }; 26 33 }