593e11fd94
According to https://repology.org/repository/nix_unstable/problems, we have a lot of packages that have http links that redirect to https as their homepage. This commit updates all these packages to use the https links as their homepage. The following script was used to make these updates: ``` curl https://repology.org/api/v1/repository/nix_unstable/problems \ | jq '.[] | .problem' -r \ | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \ | sort | uniq > script.sed find -name '*.nix' | xargs -P4 -- sed -f script.sed -i ```
22 lines
646 B
Nix
22 lines
646 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "1.0";
|
|
in
|
|
fetchzip {
|
|
name = "ultimate-oldschool-pc-font-pack-${version}";
|
|
url = "https://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 = "https://int10h.org/oldschool-pc-fonts/";
|
|
license = licenses.cc-by-sa-40;
|
|
maintainers = [ maintainers.endgame ];
|
|
};
|
|
}
|