nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchzip }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "fira-mono";
5 version = "4.202";
6
7 src = fetchzip {
8 url = "https://github.com/mozilla/Fira/archive/${version}.zip";
9 hash = "sha256-HLReqgL0PXF5vOpwLN0GiRwnzkjGkEVEyOEV2Z4R0oQ=";
10 };
11
12 installPhase = ''
13 runHook preInstall
14
15 install -Dm644 otf/FiraMono*.otf -t $out/share/fonts/opentype
16
17 runHook postInstall
18 '';
19
20 meta = with lib; {
21 homepage = "https://mozilla.github.io/Fira/";
22 description = "Monospace font for Firefox OS";
23 longDescription = ''
24 Fira Mono is a monospace font designed by Erik Spiekermann,
25 Ralph du Carrois, Anja Meiners and Botio Nikoltchev of Carrois
26 Type Design for Mozilla Firefox OS. Available in Regular,
27 Medium, and Bold.
28 '';
29 license = licenses.ofl;
30 maintainers = [ maintainers.rycee ];
31 platforms = platforms.all;
32 };
33}