diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2022-02-27 23:01:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-27 23:01:58 +0100 |
commit | ce85e03fe229822f44a51509a035180c8af928ea (patch) | |
tree | 37ca02a22435a21caaeb77b0be2b1327d0fd8b33 /pkgs/data | |
parent | b2ffb9fc96c3b2c1f16112a750da03c82b789760 (diff) | |
parent | da1f31a62ef82b4a3edf8a7f7bdf2d42e4ffab15 (diff) | |
download | nixlib-ce85e03fe229822f44a51509a035180c8af928ea.tar nixlib-ce85e03fe229822f44a51509a035180c8af928ea.tar.gz nixlib-ce85e03fe229822f44a51509a035180c8af928ea.tar.bz2 nixlib-ce85e03fe229822f44a51509a035180c8af928ea.tar.lz nixlib-ce85e03fe229822f44a51509a035180c8af928ea.tar.xz nixlib-ce85e03fe229822f44a51509a035180c8af928ea.tar.zst nixlib-ce85e03fe229822f44a51509a035180c8af928ea.zip |
Merge pull request #160414 from stephaneyfx/update-redhat-fonts
redhat-official-fonts: 2.3.2 -> 4.0.2
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/redhat-official/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/data/fonts/redhat-official/default.nix b/pkgs/data/fonts/redhat-official/default.nix index 37ca9db9fa0b..9daaffd0b4ba 100644 --- a/pkgs/data/fonts/redhat-official/default.nix +++ b/pkgs/data/fonts/redhat-official/default.nix @@ -1,6 +1,6 @@ { lib, fetchFromGitHub }: let - version = "2.3.2"; + version = "4.0.2"; in fetchFromGitHub { name = "redhat-official-${version}"; @@ -11,11 +11,13 @@ fetchFromGitHub { postFetch = '' tar xf $downloadedFile --strip=1 - install -m444 -Dt $out/share/fonts/opentype OTF/*.otf - install -m444 -Dt $out/share/fonts/truetype TTF/*.ttf + for kind in mono proportional; do + install -m444 -Dt $out/share/fonts/opentype fonts/$kind/static/otf/*.otf + install -m444 -Dt $out/share/fonts/truetype fonts/$kind/static/ttf/*.ttf + done ''; - sha256 = "1afvxmgif61hb17g8inmxvq30vkzwh30mydlqpf0zgvaaz8qdwmv"; + sha256 = "sha256-904uQtbAdLx9MJudLk/vVk/+uK0nsPbWbAeXrWxTHm8="; meta = with lib; { homepage = "https://github.com/RedHatOfficial/RedHatFont"; |