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