summary refs log tree commit diff
path: root/pkgs/data/fonts/ultimate-oldschool-pc-font-pack/default.nix
blob: f9045794fe157b6ffa4b48814fec1b447cc6a1c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, fetchzip }:

let
  version = "1.0";
in
fetchzip {
  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";

  postFetch= ''
    mkdir -p $out/share/fonts/truetype
    unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
  '';

  meta = with lib; {
    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 ];
  };
}