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