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