2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "ultimate-oldschool-pc-font-pack";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "2.2";
|
2023-02-02 18:25:31 +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
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Ultimate Oldschool PC Font Pack (TTF Fonts)";
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
}
|