nixpkgs/pkgs/data/fonts/orbitron/default.nix

47 lines
1.7 KiB
Nix
Raw Normal View History

2017-08-10 21:43:49 +02:00
{ stdenv, fetchzip }:
2016-06-30 10:06:40 +02:00
2017-08-10 21:43:49 +02:00
let
2016-06-30 10:06:40 +02:00
version = "20110526";
2017-08-10 21:43:49 +02:00
in fetchzip {
name = "orbitron-${version}";
2016-06-30 10:06:40 +02:00
2017-08-10 21:43:49 +02:00
url = https://github.com/theleagueof/orbitron/archive/13e6a52.zip;
2016-06-30 10:06:40 +02:00
2017-08-10 21:43:49 +02:00
postFetch = ''
2016-06-30 10:06:40 +02:00
otfdir=$out/share/fonts/opentype/orbitron
ttfdir=$out/share/fonts/ttf/orbitron
mkdir -p $otfdir $ttfdir
2017-08-10 21:43:49 +02:00
unzip -j $downloadedFile \*/Orbitron\*.otf -d $otfdir
unzip -j $downloadedFile \*/Orbitron\*.ttf -d $ttfdir
2016-06-30 10:06:40 +02:00
'';
2017-08-10 21:43:49 +02:00
sha256 = "1y9yzvpqs2v3ssnqk2iiglrh8amgsscnk8vmfgnqgqi9f4dhdvnv";
2016-06-30 10:06:40 +02:00
meta = with stdenv.lib; {
homepage = https://www.theleagueofmoveabletype.com/orbitron;
2016-06-30 10:06:40 +02: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 youve 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 ];
};
}