Merge pull request #93420 from marsam/init-3270font
_3270font: init at 2.0.4
This commit is contained in:
commit
68dfdd34ae
26
pkgs/data/fonts/3270font/default.nix
Normal file
26
pkgs/data/fonts/3270font/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, fetchzip }:
|
||||
let
|
||||
version = "2.0.4";
|
||||
in
|
||||
fetchzip rec {
|
||||
name = "3270font-${version}";
|
||||
|
||||
url = "https://github.com/rbanffy/3270font/releases/download/v${version}/3270_fonts_ece94f6.zip";
|
||||
|
||||
sha256 = "04q7dnrlq5hm30iibh3jafb33m5lwsgb3g9n9i188sg02ydkrsl9";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Monospaced font based on IBM 3270 terminals";
|
||||
homepage = "https://github.com/rbanffy/3270font";
|
||||
license = [ licenses.bsd3 licenses.ofl ];
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -18040,6 +18040,8 @@ in
|
||||
|
||||
### DATA
|
||||
|
||||
_3270font = callPackage ../data/fonts/3270font { };
|
||||
|
||||
adapta-backgrounds = callPackage ../data/misc/adapta-backgrounds { };
|
||||
|
||||
adapta-gtk-theme = callPackage ../data/themes/adapta { };
|
||||
|
Loading…
Reference in New Issue
Block a user