diff --git a/pkgs/data/fonts/unifont_upper/default.nix b/pkgs/data/fonts/unifont_upper/default.nix index 84a1742b8439..1020c2f1f132 100644 --- a/pkgs/data/fonts/unifont_upper/default.nix +++ b/pkgs/data/fonts/unifont_upper/default.nix @@ -1,15 +1,19 @@ -{ lib, fetchzip }: +{ lib, fetchurl }: let - version = "14.0.03"; -in fetchzip rec { + version = "14.0.04"; +in fetchurl rec { name = "unifont_upper-${version}"; url = "mirror://gnu/unifont/unifont-${version}/${name}.ttf"; + downloadToTemp = true; + + recursiveHash = true; + postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf"; - sha256 = "1lwx7syb9ij4dlqiiybp6xgvar2sszxphvaqh64vivzj9gp0g0ai"; + hash = "sha256-cNw+3Y/6h2TD6ZSaGO32NNyiTwCUSJsA3Q5W5/m+eLE="; meta = with lib; { description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";