From 667f26cabf8a217b0259b969f43af4b2a4f7c8b2 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 12 Sep 2015 00:52:32 +0200 Subject: 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. --- pkgs/data/fonts/pecita/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/data/fonts/pecita') diff --git a/pkgs/data/fonts/pecita/default.nix b/pkgs/data/fonts/pecita/default.nix index 63f5edb4c38..d38cb89c928 100644 --- a/pkgs/data/fonts/pecita/default.nix +++ b/pkgs/data/fonts/pecita/default.nix @@ -5,15 +5,15 @@ stdenv.mkDerivation rec { version = "5.2"; src = fetchurl { - url = "http://pecita.eu/b/Pecita.otf"; - sha256 = "1zawd83jrvzxfj5n5m65ja6rcl0w4bm4179g053b0icm152lgmns"; + url = "http://archive.rycee.net/pecita/${name}.tar.xz"; + sha256 = "0ryfvxdla5iinwwin4dc1k89hk1bjq2mfdrrv67q6fdgz41l0qf0"; }; - phases = ["installPhase"]; + phases = ["unpackPhase" "installPhase"]; installPhase = '' mkdir -p $out/share/fonts/opentype - cp -v ${src} $out/share/fonts/opentype/Pecita.otf + cp -v Pecita.otf $out/share/fonts/opentype/Pecita.otf ''; meta = with stdenv.lib; { -- cgit 1.4.1