_3270font: 2.1.0 -> 2.2.1
https://github.com/rbanffy/3270font/releases/tag/v2.2.1
This commit is contained in:
parent
04da763965
commit
c25e63ff9a
1 changed files with 5 additions and 4 deletions
|
@ -1,24 +1,25 @@
|
||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
let
|
let
|
||||||
version = "2.1.0";
|
version = "2.2.1";
|
||||||
in
|
in
|
||||||
fetchzip {
|
fetchzip {
|
||||||
name = "3270font-${version}";
|
name = "3270font-${version}";
|
||||||
|
|
||||||
url = "https://github.com/rbanffy/3270font/releases/download/v.${version}/3270_fonts_fba25eb.zip";
|
url = "https://github.com/rbanffy/3270font/releases/download/v${version}/3270_fonts_70de9c7.zip";
|
||||||
|
|
||||||
sha256 = "04xqgiznd6d3c1rdbbdmd87rjy9bnhh00lm8xzmal1zidcr2g0n9";
|
sha256 = "0spz9abp87r3bncjim6hs47fmhg86qbgips4x6nfpqzg5qh2xd2m";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts/
|
mkdir -p $out/share/fonts/
|
||||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||||
unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff
|
unzip -j $downloadedFile \*.afm -d $out/share/fonts/type1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Monospaced font based on IBM 3270 terminals";
|
description = "Monospaced font based on IBM 3270 terminals";
|
||||||
homepage = "https://github.com/rbanffy/3270font";
|
homepage = "https://github.com/rbanffy/3270font";
|
||||||
|
changelog = "https://github.com/rbanffy/3270font/blob/v${version}/CHANGELOG.md";
|
||||||
license = [ licenses.bsd3 licenses.ofl ];
|
license = [ licenses.bsd3 licenses.ofl ];
|
||||||
maintainers = [ maintainers.marsam ];
|
maintainers = [ maintainers.marsam ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|
Loading…
Reference in a new issue