depot/third_party/nixpkgs/pkgs/data/fonts/league-gothic/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

39 lines
1.5 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, fetchzip, stdenvNoCC }:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "league-gothic";
version = "1.601";
src = fetchzip {
url = "https://github.com/theleagueof/league-gothic/releases/download/${finalAttrs.version}/LeagueGothic-${finalAttrs.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 ];
};
})