nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchFromGitHub }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "b612";
5 version = "1.008";
6
7 src = fetchFromGitHub {
8 owner = "polarsys";
9 repo = "b612";
10 rev = version;
11 hash = "sha256-uyBC8UNOwztCHXhR9XZuWDwrty0eClbo0E+gI1PmjEg=";
12 };
13
14 installPhase = ''
15 runHook preInstall
16
17 mkdir -p $out/share/fonts/truetype
18 mv fonts/ttf/*.ttf $out/share/fonts/truetype
19
20 runHook postInstall
21 '';
22
23 meta = with lib; {
24 homepage = "https://b612-font.com/";
25 description = "Highly legible font family for use on aircraft cockpit screens";
26 longDescription = ''
27 B612 is the result of a research project initiated by Airbus. The font
28 was designed by Nicolas Chauveau and Thomas Paillot (intactile DESIGN) with the
29 support of Jean‑Luc Vinot (ENAC). Prior research by Jean‑Luc Vinot (DGAC/DSNA)
30 and Sylvie Athènes (Université de Toulouse III). The challenge for the
31 "Aeronautical Font" was to improve the display of information on the cockpit
32 screens, in particular in terms of legibility and comfort of reading, and to
33 optimize the overall homogeneity of the cockpit.
34
35 Intactile DESIGN was hired to work on the design of eight typographic
36 variants of the font. This one, baptized B612 in reference to the
37 imaginary asteroid of the aviator Saint‑Exupéry, benefited from a complete
38 hinting on all the characters.
39 '';
40 license = with licenses; [ ofl epl10 bsd3 ];
41 maintainers = with maintainers; [ leenaars ];
42 platforms = platforms.all;
43 };
44}