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 { lib, fetchFromGitHub }: 2 let 3 - version = "2.3.2"; 4 in 5 fetchFromGitHub { 6 name = "redhat-official-${version}"; ··· 11 12 postFetch = '' 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 16 ''; 17 18 - sha256 = "1afvxmgif61hb17g8inmxvq30vkzwh30mydlqpf0zgvaaz8qdwmv"; 19 20 meta = with lib; { 21 homepage = "https://github.com/RedHatOfficial/RedHatFont";
··· 1 { lib, fetchFromGitHub }: 2 let 3 + version = "4.0.2"; 4 in 5 fetchFromGitHub { 6 name = "redhat-official-${version}"; ··· 11 12 postFetch = '' 13 tar xf $downloadedFile --strip=1 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 18 ''; 19 20 + sha256 = "sha256-904uQtbAdLx9MJudLk/vVk/+uK0nsPbWbAeXrWxTHm8="; 21 22 meta = with lib; { 23 homepage = "https://github.com/RedHatOfficial/RedHatFont";