base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / le / league-gothic / package.nix
blobc119dc3f562f7fadf8b60b797395cae47f4f1008
1 { lib, fetchzip, stdenvNoCC }:
3 stdenvNoCC.mkDerivation (finalAttrs: {
4   pname = "league-gothic";
5   version = "1.601";
7   src = fetchzip {
8     url = "https://github.com/theleagueof/league-gothic/releases/download/${finalAttrs.version}/LeagueGothic-${finalAttrs.version}.tar.xz";
9     hash = "sha256-emkXKyQw4R0Zgg02oJsvBkqV0jmczP0tF0K2IKqJHMA=";
10   };
12   installPhase = ''
13     runHook preInstall
15     install -D -m444 -t $out/share/fonts/truetype $src/static/TTF/*.ttf
16     install -D -m444 -t $out/share/fonts/opentype $src/static/OTF/*.otf
18     runHook postInstall
19   '';
21   meta = {
22     description = "Revival of an old classic, Alternate Gothic #1";
23     longDescription = ''
24       League Gothic is a revival of an old classic, and one of our favorite
25       typefaces, Alternate Gothic #1. It was originally designed by Morris
26       Fuller Benton for the American Type Founders Company in 1903. The company
27       went bankrupt in 1993, and since the original typeface was created before
28       1923, the typeface is in the public domain.
30       We decided to make our own version, and contribute it to the Open Source
31       Type Movement. Thanks to a commission from the fine & patient folks over
32       at WND.com, it’s been revised & updated with contributions from Micah
33       Rich, Tyler Finck, and Dannci, who contributed extra glyphs.
34     '';
35     homepage = "https://www.theleagueofmoveabletype.com/league-gothic";
36     license = lib.licenses.ofl;
37     maintainers = with lib.maintainers; [ minijackson ];
38   };