lol

pecita: download from difference source (close #9806)

The upstream URL of the Pecita font is often changed in-place resulting
in frequent hash mismatches. With this commit an archived version of the
font is used instead.

authored by

Robert Helgesson and committed by
Vladimír Čunát
667f26ca 52868789

+4 -4
+4 -4
pkgs/data/fonts/pecita/default.nix
··· 5 5 version = "5.2"; 6 6 7 7 src = fetchurl { 8 - url = "http://pecita.eu/b/Pecita.otf"; 9 - sha256 = "1zawd83jrvzxfj5n5m65ja6rcl0w4bm4179g053b0icm152lgmns"; 8 + url = "http://archive.rycee.net/pecita/${name}.tar.xz"; 9 + sha256 = "0ryfvxdla5iinwwin4dc1k89hk1bjq2mfdrrv67q6fdgz41l0qf0"; 10 10 }; 11 11 12 - phases = ["installPhase"]; 12 + phases = ["unpackPhase" "installPhase"]; 13 13 14 14 installPhase = '' 15 15 mkdir -p $out/share/fonts/opentype 16 - cp -v ${src} $out/share/fonts/opentype/Pecita.otf 16 + cp -v Pecita.otf $out/share/fonts/opentype/Pecita.otf 17 17 ''; 18 18 19 19 meta = with stdenv.lib; {