2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
let
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
fetchzip {
|
|
|
|
name = "ultimate-oldschool-pc-font-pack-${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://int10h.org/oldschool-pc-fonts/download/oldschool_pc_font_pack_v${version}_linux.zip";
|
|
|
|
sha256 = "sha256-BOA2fMa2KT3Bkpvj/0DzrzuZbl3RARvNn4qbI/+dApU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postFetch= ''
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The Ultimate Oldschool PC Font Pack (TTF Fonts)";
|
|
|
|
homepage = "https://int10h.org/oldschool-pc-fonts/";
|
2021-10-04 12:37:57 +00:00
|
|
|
changelog = "https://int10h.org/oldschool-pc-fonts/readme/#history";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.cc-by-sa-40;
|
|
|
|
maintainers = [ maintainers.endgame ];
|
|
|
|
};
|
|
|
|
}
|