Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ma / major-mono-display / package.nix
blob1bfca85b1c546f415a58b335f9bbd6c0d0aadade
1 { lib, stdenvNoCC, fetchFromGitHub }:
3 stdenvNoCC.mkDerivation {
4   pname = "major-mono-display";
5   version = "2.000";
7   src = fetchFromGitHub {
8     owner = "googlefonts";
9     repo = "majormono";
10     rev = "fae0bb9c728fe082097baedaf23604e290ddac16";
11     hash = "sha256-ishGGr8bY6UjEG/Hn5We8hOO5mcDq/41+DMn+dQGGUA=";
12   };
14   installPhase = ''
15     runHook preInstall
17     install -Dm444 -t $out/share/fonts/truetype fonts/*.ttf
19     runHook postInstall
20   '';
22   meta = {
23     description = "Monospaced geometric sans serif all-uppercase typeface";
24     longDescription = ''
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.
33     '';
34     homepage = "https://github.com/googlefonts/majormono";
35     license = lib.licenses.ofl;
36     platforms = lib.platforms.all;
37     maintainers = with lib.maintainers; [ mimvoid ];
38   };