redhat-official-fonts: 2.3.2 -> 4.0.2

This update also makes the monospace font available.

+6 -4
+6 -4
pkgs/data/fonts/redhat-official/default.nix
··· 1 1 { lib, fetchFromGitHub }: 2 2 let 3 - version = "2.3.2"; 3 + version = "4.0.2"; 4 4 in 5 5 fetchFromGitHub { 6 6 name = "redhat-official-${version}"; ··· 11 11 12 12 postFetch = '' 13 13 tar xf $downloadedFile --strip=1 14 - install -m444 -Dt $out/share/fonts/opentype OTF/*.otf 15 - install -m444 -Dt $out/share/fonts/truetype TTF/*.ttf 14 + for kind in mono proportional; do 15 + install -m444 -Dt $out/share/fonts/opentype fonts/$kind/static/otf/*.otf 16 + install -m444 -Dt $out/share/fonts/truetype fonts/$kind/static/ttf/*.ttf 17 + done 16 18 ''; 17 19 18 - sha256 = "1afvxmgif61hb17g8inmxvq30vkzwh30mydlqpf0zgvaaz8qdwmv"; 20 + sha256 = "sha256-904uQtbAdLx9MJudLk/vVk/+uK0nsPbWbAeXrWxTHm8="; 19 21 20 22 meta = with lib; { 21 23 homepage = "https://github.com/RedHatOfficial/RedHatFont";