2019-05-13 02:55:32 +01:00
|
|
|
|
{ lib, fetchFromGitHub }:
|
2016-06-30 09:06:40 +01:00
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
|
let
|
2016-06-30 09:06:40 +01:00
|
|
|
|
version = "20110526";
|
2019-05-13 02:55:32 +01:00
|
|
|
|
in fetchFromGitHub {
|
2017-08-10 20:43:49 +01:00
|
|
|
|
name = "orbitron-${version}";
|
2016-06-30 09:06:40 +01:00
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
|
owner = "theleagueof";
|
|
|
|
|
repo = "orbitron";
|
|
|
|
|
rev = "13e6a52";
|
2016-06-30 09:06:40 +01:00
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
|
postFetch = ''
|
2019-05-13 02:55:32 +01:00
|
|
|
|
tar xf $downloadedFile --strip=1
|
|
|
|
|
install -m444 -Dt $out/share/fonts/opentype/orbitron *.otf
|
|
|
|
|
install -m444 -Dt $out/share/fonts/ttf/orbitron *.ttf
|
2016-06-30 09:06:40 +01:00
|
|
|
|
'';
|
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
|
sha256 = "1y9yzvpqs2v3ssnqk2iiglrh8amgsscnk8vmfgnqgqi9f4dhdvnv";
|
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
|
meta = with lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
|
homepage = https://www.theleagueofmoveabletype.com/orbitron;
|
2016-06-30 09:06:40 +01:00
|
|
|
|
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 ];
|
|
|
|
|
};
|
|
|
|
|
}
|