mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
30 lines
804 B
Nix
30 lines
804 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "ultimate-oldschool-pc-font-pack";
|
|
version = "2.2";
|
|
|
|
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
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Ultimate Oldschool PC Font Pack (TTF Fonts)";
|
|
homepage = "https://int10h.org/oldschool-pc-fonts/";
|
|
changelog = "https://int10h.org/oldschool-pc-fonts/readme/#history";
|
|
license = licenses.cc-by-sa-40;
|
|
maintainers = [ maintainers.endgame ];
|
|
};
|
|
}
|