@@ -1,24 +1,25 @@
11{ lib, fetchzip }:
22let
3− version = "2.1.0";
3+ version = "2.2.1";
44in
55fetchzip {
66 name = "3270font-${version}";
77
8− url = "https://github.com/rbanffy/3270font/releases/download/v.${version}/3270_fonts_fba25eb.zip";
8+ url = "https://github.com/rbanffy/3270font/releases/download/v${version}/3270_fonts_70de9c7.zip";
99
10− sha256 = "04xqgiznd6d3c1rdbbdmd87rjy9bnhh00lm8xzmal1zidcr2g0n9";
10+ sha256 = "0spz9abp87r3bncjim6hs47fmhg86qbgips4x6nfpqzg5qh2xd2m";
1111
1212 postFetch = ''
1313 mkdir -p $out/share/fonts/
1414 unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
1515 unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
16− unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff
16+ unzip -j $downloadedFile \*.afm -d $out/share/fonts/type1
1717 '';
1818
1919 meta = with lib; {
2020 description = "Monospaced font based on IBM 3270 terminals";
2121 homepage = "https://github.com/rbanffy/3270font";
22+ changelog = "https://github.com/rbanffy/3270font/blob/v${version}/CHANGELOG.md";
2223 license = [ licenses.bsd3 licenses.ofl ];
2324 maintainers = [ maintainers.marsam ];
2425 platforms = platforms.all;