overpass: 3.0.4 -> 3.0.5

+7 -5
+7 -5
pkgs/data/fonts/overpass/default.nix
··· 1 1 { lib, fetchzip }: 2 2 3 3 let 4 - version = "3.0.4"; 4 + version = "3.0.5"; 5 5 in fetchzip rec { 6 6 name = "overpass-${version}"; 7 7 8 - url = "https://github.com/RedHatBrand/Overpass/archive/${version}.zip"; 8 + url = "https://github.com/RedHatOfficial/Overpass/releases/download/v${version}/overpass-${version}.zip"; 9 9 10 10 postFetch = '' 11 - mkdir -p $out/share/fonts/opentype ; unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 12 - mkdir -p $out/share/doc/${name} ; unzip -j $downloadedFile \*.md -d $out/share/doc/${name} 11 + mkdir -p $out/share/fonts $out/share/doc 12 + unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 13 + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 14 + unzip -j $downloadedFile \*.md -d $out/share/doc/${name} 13 15 ''; 14 16 15 - sha256 = "13b4yam0nycclccxidzj2fa3nwms5qji7gfkixdnl4ybf0f56b64"; 17 + sha256 = "1fpyhd6x3i3g0xxjmyfnjsri1kkvci15fv7jp1bnza7k0hz0bnha"; 16 18 17 19 meta = with lib; { 18 20 homepage = "https://overpassfont.org/";