1 { lib, stdenvNoCC, fetchFromGitHub }:
3 stdenvNoCC.mkDerivation {
4 pname = "major-mono-display";
7 src = fetchFromGitHub {
10 rev = "fae0bb9c728fe082097baedaf23604e290ddac16";
11 hash = "sha256-ishGGr8bY6UjEG/Hn5We8hOO5mcDq/41+DMn+dQGGUA=";
17 install -Dm444 -t $out/share/fonts/truetype fonts/*.ttf
23 description = "Monospaced geometric sans serif all-uppercase typeface";
25 Majör is a monospaced geometric sans serif all-uppercase typeface
26 which also has a complete set of constructivist display characters
27 with a playful attitude. It has many Opentype features but the basic
28 variation between serious/playful faces can be implemented on web use
29 where Opentype features can be hard to apply, thanks to the fact that
30 the sans serif and the display versions of the letterforms can be
31 reached via lowercase and uppercase options. This makes Majör a great
32 choice for web typography, especially at large point-sizes.
34 homepage = "https://github.com/googlefonts/majormono";
35 license = lib.licenses.ofl;
36 platforms = lib.platforms.all;
37 maintainers = with lib.maintainers; [ mimvoid ];