1 { lib, fetchzip, stdenvNoCC }:
3 stdenvNoCC.mkDerivation (finalAttrs: {
4 pname = "league-spartan";
8 url = "https://github.com/theleagueof/league-spartan/releases/download/${finalAttrs.version}/LeagueSpartan-${finalAttrs.version}.tar.xz";
9 hash = "sha256-dkvWRYli8vk+E0DkZ2NWCJKfSfdo4jEcGo0puQpFVVc=";
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
22 description = "Fantastic new revival of ATF's classic Spartan, a geometric sans-serif that has no problem kicking its enemies in the chest";
24 A new classic, this is a bold, modern, geometric sans-serif that has no
25 problem kicking its enemies in the chest.
27 Taking a strong influence from ATF's classic Spartan family, we're
28 starting our own family out with a single strong weight. We've put a few
29 unique touches into a beautiful, historical typeface, and made sure to
30 include an extensive characterset – currently totaling over 300 glyphs.
32 Over time, the open-source license will allow us expand League Spartan
33 into a full family, with multiple weights and styles, and we're starting
34 by releasing our first Bold style for this exciting, modern classic now.
36 homepage = "https://www.theleagueofmoveabletype.com/league-spartan";
37 license = lib.licenses.ofl;
38 maintainers = with lib.maintainers; [ minijackson ];