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