Merge pull request #61731 from dtzWill/feature/redhat-official-fonts
redhat-official-fonts: init at 2.2.0
This commit is contained in:
commit
e841e44d56
22
pkgs/data/fonts/redhat-official/default.nix
Normal file
22
pkgs/data/fonts/redhat-official/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
|
let version = "2.2.0"; in
|
||||||
|
fetchzip rec {
|
||||||
|
name = "redhat-official-${version}";
|
||||||
|
url = "https://github.com/RedHatOfficial/RedHatFont/archive/${version}.zip";
|
||||||
|
|
||||||
|
postFetch = ''
|
||||||
|
mkdir -p $out/share/fonts/opentype
|
||||||
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||||
|
'';
|
||||||
|
|
||||||
|
sha256 = "0yb6shgq6jrv3kq9faky66qpdbv4g580c3jl942844grwyngymyj";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/RedHatOfficial/RedHatFont;
|
||||||
|
description = "Red Hat's Open Source Fonts - Red Hat Display and Red Hat Text";
|
||||||
|
license = licenses.ofl;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
|
};
|
||||||
|
}
|
@ -16420,6 +16420,8 @@ in
|
|||||||
|
|
||||||
qogir-theme = callPackage ../data/themes/qogir { };
|
qogir-theme = callPackage ../data/themes/qogir { };
|
||||||
|
|
||||||
|
redhat-official-fonts = callPackage ../data/fonts/redhat-official { };
|
||||||
|
|
||||||
route159 = callPackage ../data/fonts/route159 { };
|
route159 = callPackage ../data/fonts/route159 { };
|
||||||
|
|
||||||
sampradaya = callPackage ../data/fonts/sampradaya { };
|
sampradaya = callPackage ../data/fonts/sampradaya { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user