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