nixpkgs/pkgs/data/fonts/ultimate-oldschool-pc-font-pack/default.nix
volth c9eb44eab3 data/fonts: cleanup
* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
2019-05-13 06:03:31 +00:00

23 lines
648 B
Nix

{ lib, fetchzip }:
let
version = "1.0";
in
fetchzip rec {
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 ];
};
}