summary refs log tree commit diff
path: root/pkgs/data/fonts/orbitron/default.nix
blob: 973c79f667a30f227e38cd3b17ca29fed12735fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenvNoCC.mkDerivation {
  pname = "orbitron";
  version = "20110526";

  src = fetchFromGitHub {
    owner = "theleagueof";
    repo = "orbitron";
    rev = "13e6a52";
    hash = "sha256-zjNPVrDUxcQbrsg1/8fFa6Wenu1yuG/XDfKA7NVZ0rA=";
  };

  installPhase = ''
    runHook preInstall

    install -m444 -Dt $out/share/fonts/opentype/orbitron *.otf
    install -m444 -Dt $out/share/fonts/ttf/orbitron      *.ttf

    runHook postInstall
  '';

  meta = with lib; {
    homepage = "https://www.theleagueofmoveabletype.com/orbitron";
    downloadPage = "https://www.theleagueofmoveabletype.com/orbitron/download";
    description = "Geometric sans-serif for display purposes by Matt McInerney";
    longDescription = ''
      Orbitron is a geometric sans-serif typeface intended for display
      purposes. It features four weights (light, medium, bold, and
      black), a stylistic alternative, small caps, and a ton of
      alternate glyphs.

      Orbitron was designed so that graphic designers in the future
      will have some alternative to typefaces like Eurostile or Bank
      Gothic. If you’ve ever seen a futuristic sci-fi movie, you have
      may noticed that all other fonts have been lost or destroyed in
      the apocalypse that led humans to flee earth. Only those very few
      geometric typefaces have survived to be used on spaceship
      exteriors, space station signage, monopolistic corporate
      branding, uniforms featuring aerodynamic shoulder pads, etc. Of
      course Orbitron could also be used on the posters for the movies
      portraying this inevitable future.
    '';
    license = licenses.ofl;
    platforms = platforms.all;
    maintainers = [ maintainers.leenaars ];
  };
}