diff options
author | Robert Helgesson <robert@rycee.net> | 2015-09-12 00:52:32 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-09-13 09:59:41 +0200 |
commit | 667f26cabf8a217b0259b969f43af4b2a4f7c8b2 (patch) | |
tree | 9d5ee5ffe05ea9133c331e3c9d2c011809842e30 /pkgs/data/fonts/pecita | |
parent | 52868789983f5e6f35aa1c504314e242b3b2a47a (diff) | |
download | nixpkgs-667f26cabf8a217b0259b969f43af4b2a4f7c8b2.tar nixpkgs-667f26cabf8a217b0259b969f43af4b2a4f7c8b2.tar.gz nixpkgs-667f26cabf8a217b0259b969f43af4b2a4f7c8b2.tar.bz2 nixpkgs-667f26cabf8a217b0259b969f43af4b2a4f7c8b2.tar.lz nixpkgs-667f26cabf8a217b0259b969f43af4b2a4f7c8b2.tar.xz nixpkgs-667f26cabf8a217b0259b969f43af4b2a4f7c8b2.tar.zst nixpkgs-667f26cabf8a217b0259b969f43af4b2a4f7c8b2.zip |
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.
Diffstat (limited to 'pkgs/data/fonts/pecita')
-rw-r--r-- | pkgs/data/fonts/pecita/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
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; { |