After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19.tar.gz \
--argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
result/bin/apply-formatting $NIXPKGS_PATH
56 lines
1.8 KiB
Nix
56 lines
1.8 KiB
Nix
{
|
||
lib,
|
||
stdenvNoCC,
|
||
fetchFromGitHub,
|
||
}:
|
||
|
||
stdenvNoCC.mkDerivation {
|
||
pname = "orbitron";
|
||
version = "2011-05-25";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "theleagueof";
|
||
repo = "orbitron";
|
||
rev = "13e6a5222aa6818d81c9acd27edd701a2d744152";
|
||
hash = "sha256-zjNPVrDUxcQbrsg1/8fFa6Wenu1yuG/XDfKA7NVZ0rA=";
|
||
};
|
||
|
||
installPhase = ''
|
||
runHook preInstall
|
||
|
||
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
|
||
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
||
|
||
runHook postInstall
|
||
'';
|
||
|
||
meta = with lib; {
|
||
homepage = "https://www.theleagueofmoveabletype.com/orbitron";
|
||
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 = with lib.maintainers; [
|
||
leenaars
|
||
minijackson
|
||
];
|
||
};
|
||
}
|