mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
4f0dadbf38
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-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
53 lines
1.6 KiB
Nix
53 lines
1.6 KiB
Nix
{
|
||
lib,
|
||
stdenvNoCC,
|
||
fetchFromGitHub,
|
||
}:
|
||
|
||
stdenvNoCC.mkDerivation rec {
|
||
pname = "b612";
|
||
version = "1.008";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "polarsys";
|
||
repo = "b612";
|
||
rev = version;
|
||
hash = "sha256-uyBC8UNOwztCHXhR9XZuWDwrty0eClbo0E+gI1PmjEg=";
|
||
};
|
||
|
||
installPhase = ''
|
||
runHook preInstall
|
||
|
||
mkdir -p $out/share/fonts/truetype
|
||
mv fonts/ttf/*.ttf $out/share/fonts/truetype
|
||
|
||
runHook postInstall
|
||
'';
|
||
|
||
meta = with lib; {
|
||
homepage = "https://b612-font.com/";
|
||
description = "Highly legible font family for use on aircraft cockpit screens";
|
||
longDescription = ''
|
||
B612 is the result of a research project initiated by Airbus. The font
|
||
was designed by Nicolas Chauveau and Thomas Paillot (intactile DESIGN) with the
|
||
support of Jean‑Luc Vinot (ENAC). Prior research by Jean‑Luc Vinot (DGAC/DSNA)
|
||
and Sylvie Athènes (Université de Toulouse III). The challenge for the
|
||
"Aeronautical Font" was to improve the display of information on the cockpit
|
||
screens, in particular in terms of legibility and comfort of reading, and to
|
||
optimize the overall homogeneity of the cockpit.
|
||
|
||
Intactile DESIGN was hired to work on the design of eight typographic
|
||
variants of the font. This one, baptized B612 in reference to the
|
||
imaginary asteroid of the aviator Saint‑Exupéry, benefited from a complete
|
||
hinting on all the characters.
|
||
'';
|
||
license = with licenses; [
|
||
ofl
|
||
epl10
|
||
bsd3
|
||
];
|
||
maintainers = with maintainers; [ leenaars ];
|
||
platforms = platforms.all;
|
||
};
|
||
}
|