depot/third_party/nixpkgs/pkgs/data/fonts/fira-mono/default.nix
Default email 3ec2fa6bfd Project import generated by Copybara.
GitOrigin-RevId: 0dde103318090f77ac95ef7fc26fe0cdd00fa0b3
2021-08-06 16:57:35 -05:00

29 lines
858 B
Nix

{ lib, fetchzip }:
let version = "4.202";
in fetchzip {
name = "fira-mono-${version}";
url = "https://github.com/mozilla/Fira/archive/${version}.zip";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile Fira-${version}/otf/FiraMono\*.otf -d $out/share/fonts/opentype
'';
sha256 = "1ci3fxhdwabvfj4nl16pwcgqnh7s2slp8vblribk8zkpx8cbp1dj";
meta = with lib; {
homepage = "https://mozilla.github.io/Fira/";
description = "Monospace font for Firefox OS";
longDescription = ''
Fira Mono is a monospace font designed by Erik Spiekermann,
Ralph du Carrois, Anja Meiners and Botio Nikoltchev of Carrois
Type Design for Mozilla Firefox OS. Available in Regular,
Medium, and Bold.
'';
license = licenses.ofl;
maintainers = [ maintainers.rycee ];
platforms = platforms.all;
};
}