2023-01-30 09:25:57 +00:00
|
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2016-06-30 08:06:40 +00:00
|
|
|
|
|
2023-04-21 15:52:05 +00:00
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2023-01-30 09:25:57 +00:00
|
|
|
|
pname = "orbitron";
|
2023-01-21 13:33:51 +00:00
|
|
|
|
version = "2011-05-25";
|
2016-06-30 08:06:40 +00:00
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "theleagueof";
|
2023-04-21 15:52:05 +00:00
|
|
|
|
repo = finalAttrs.pname;
|
2023-01-21 13:33:51 +00:00
|
|
|
|
rev = "13e6a5222aa6818d81c9acd27edd701a2d744152";
|
2023-01-30 09:25:57 +00:00
|
|
|
|
hash = "sha256-zjNPVrDUxcQbrsg1/8fFa6Wenu1yuG/XDfKA7NVZ0rA=";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
2016-06-30 08:06:40 +00:00
|
|
|
|
|
2023-01-21 13:33:51 +00:00
|
|
|
|
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
|
|
|
|
|
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
2016-06-30 08:06:40 +00:00
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
|
runHook postInstall
|
|
|
|
|
'';
|
2017-08-10 19:43:49 +00:00
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
|
homepage = "https://www.theleagueofmoveabletype.com/orbitron";
|
2016-06-30 08:06:40 +00:00
|
|
|
|
downloadPage = "https://www.theleagueofmoveabletype.com/orbitron/download";
|
2021-01-24 09:19:10 +00:00
|
|
|
|
description = "Geometric sans-serif for display purposes by Matt McInerney";
|
2016-06-30 08:06:40 +00:00
|
|
|
|
longDescription = ''
|
2023-01-30 09:25:57 +00:00
|
|
|
|
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.
|
2016-06-30 08:06:40 +00:00
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
|
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.
|
2016-06-30 08:06:40 +00:00
|
|
|
|
'';
|
|
|
|
|
license = licenses.ofl;
|
|
|
|
|
platforms = platforms.all;
|
2023-01-21 13:33:51 +00:00
|
|
|
|
maintainers = with lib.maintainers; [ leenaars minijackson ];
|
2016-06-30 08:06:40 +00:00
|
|
|
|
};
|
2023-01-21 13:33:51 +00:00
|
|
|
|
})
|