2023-01-28 06:27:25 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2018-09-03 06:47:12 +00:00
|
|
|
|
2023-01-28 06:27:25 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "ultimate-oldschool-pc-font-pack";
|
2021-11-05 08:07:47 +00:00
|
|
|
version = "2.2";
|
2023-01-28 06:27:25 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://int10h.org/oldschool-pc-fonts/download/oldschool_pc_font_pack_v${version}_linux.zip";
|
|
|
|
stripRoot = false;
|
|
|
|
hash = "sha256-54U8tZzvivTSOgmGesj9QbIgkSTm9w4quMhsuEc0Xy4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp */*.ttf $out/share/fonts/truetype
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
2018-09-03 06:47:12 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2018-09-03 06:47:12 +00:00
|
|
|
description = "Ultimate Oldschool PC Font Pack (TTF Fonts)";
|
2020-01-22 10:26:22 +00:00
|
|
|
homepage = "https://int10h.org/oldschool-pc-fonts/";
|
2021-10-02 04:57:29 +00:00
|
|
|
changelog = "https://int10h.org/oldschool-pc-fonts/readme/#history";
|
2018-09-03 06:47:12 +00:00
|
|
|
license = licenses.cc-by-sa-40;
|
|
|
|
maintainers = [ maintainers.endgame ];
|
|
|
|
};
|
2023-01-28 06:27:25 +00:00
|
|
|
}
|