league-gothic: init at 1.601

This commit is contained in:
Minijackson 2023-02-04 14:41:44 +01:00
parent 5c1725f25d
commit 2d60622568
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib, fetchzip, stdenvNoCC }:
stdenvNoCC.mkDerivation (self: {
pname = "league-gothic";
version = "1.601";
src = fetchzip {
url = "https://github.com/theleagueof/league-gothic/releases/download/${self.version}/LeagueGothic-${self.version}.tar.xz";
hash = "sha256-emkXKyQw4R0Zgg02oJsvBkqV0jmczP0tF0K2IKqJHMA=";
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/truetype $src/static/TTF/*.ttf
install -D -m444 -t $out/share/fonts/opentype $src/static/OTF/*.otf
runHook postInstall
'';
meta = {
description = "A revival of an old classic, Alternate Gothic #1";
longDescription = ''
League Gothic is a revival of an old classic, and one of our favorite
typefaces, Alternate Gothic #1. It was originally designed by Morris
Fuller Benton for the American Type Founders Company in 1903. The company
went bankrupt in 1993, and since the original typeface was created before
1923, the typeface is in the public domain.
We decided to make our own version, and contribute it to the Open Source
Type Movement. Thanks to a commission from the fine & patient folks over
at WND.com, its been revised & updated with contributions from Micah
Rich, Tyler Finck, and Dannci, who contributed extra glyphs.
'';
homepage = "https://www.theleagueofmoveabletype.com/league-gothic";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ minijackson ];
};
})

View file

@ -27278,6 +27278,8 @@ with pkgs;
league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};
league-gothic = callPackage ../data/fonts/league-gothic { };
ledger-udev-rules = callPackage ../os-specific/linux/ledger-udev-rules {};
inherit (callPackages ../data/fonts/liberation-fonts { })