2023-01-30 09:25:57 +00:00
|
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2019-01-21 17:22:21 +00:00
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-01-21 17:22:21 +00:00
|
|
|
|
pname = "b612";
|
2022-11-14 21:41:21 +00:00
|
|
|
|
version = "1.008";
|
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "polarsys";
|
|
|
|
|
repo = "b612";
|
|
|
|
|
rev = version;
|
|
|
|
|
hash = "sha256-uyBC8UNOwztCHXhR9XZuWDwrty0eClbo0E+gI1PmjEg=";
|
|
|
|
|
};
|
2022-11-14 21:41:21 +00:00
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
2022-11-14 21:41:21 +00:00
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
|
mv fonts/ttf/*.ttf $out/share/fonts/truetype
|
2022-11-14 21:41:21 +00:00
|
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
|
runHook postInstall
|
2019-01-21 17:22:21 +00:00
|
|
|
|
'';
|
2022-11-14 21:41:21 +00:00
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
|
meta = with lib; {
|
2022-11-21 01:53:53 +00:00
|
|
|
|
homepage = "https://b612-font.com/";
|
2019-01-21 17:22:21 +00:00
|
|
|
|
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.
|
2023-01-30 09:25:57 +00:00
|
|
|
|
'';
|
|
|
|
|
license = with licenses; [ ofl epl10 bsd3 ];
|
2019-01-21 17:22:21 +00:00
|
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
|
platforms = platforms.all;
|
|
|
|
|
};
|
|
|
|
|
}
|