···1+{ stdenv, fetchFromGitHub }:
2+3+stdenv.mkDerivation rec {
4+ name = "orbitron-${version}";
5+ version = "20110526";
6+7+ src = fetchFromGitHub {
8+ owner = "theleagueof";
9+ repo = "orbitron";
10+ rev = "13e6a52";
11+ sha256 = "1c6jb7ayr07j1pbnzf3jxng9x9bbqp3zydf8mqdw9ifln1b4ycyf";
12+ };
13+14+ phases = [ "unpackPhase" "installPhase" ];
15+16+ installPhase = ''
17+ otfdir=$out/share/fonts/opentype/orbitron
18+ ttfdir=$out/share/fonts/ttf/orbitron
19+ mkdir -p $otfdir $ttfdir
20+ cp -v Orbitron*.otf $otfdir
21+ cp -v Orbitron*.ttf $ttfdir
22+ '';
23+24+ meta = with stdenv.lib; {
25+ homepage = "https://www.theleagueofmoveabletype.com/orbitron";
26+ downloadPage = "https://www.theleagueofmoveabletype.com/orbitron/download";
27+ description = ''
28+ Geometric sans-serif for display purposes by Matt McInerney'';
29+ longDescription = ''
30+ Orbitron is a geometric sans-serif typeface intended for display
31+ purposes. It features four weights (light, medium, bold, and
32+ black), a stylistic alternative, small caps, and a ton of
33+ alternate glyphs.
34+35+ Orbitron was designed so that graphic designers in the future
36+ will have some alternative to typefaces like Eurostile or Bank
37+ Gothic. If you’ve ever seen a futuristic sci-fi movie, you have
38+ may noticed that all other fonts have been lost or destroyed in
39+ the apocalypse that led humans to flee earth. Only those very few
40+ geometric typefaces have survived to be used on spaceship
41+ exteriors, space station signage, monopolistic corporate
42+ branding, uniforms featuring aerodynamic shoulder pads, etc. Of
43+ course Orbitron could also be used on the posters for the movies
44+ portraying this inevitable future.
45+ '';
46+ license = licenses.ofl;
47+ platforms = platforms.all;
48+ maintainers = [ maintainers.leenaars ];
49+ };
50+}