fira-mono: 4.202 -> 3.2

- The sources at the mozilla github repository are not up to date,
after Mozilla decided to not put effort into the project anymore.

- Update to real latest version.

- Update home page.
This commit is contained in:
José Romildo 2024-06-17 10:12:12 -03:00 committed by Robert Helgesson
parent e661bd66f6
commit c25ea56eb4

View File

@ -1,24 +1,27 @@
{ lib, stdenvNoCC, fetchzip }:
{ lib
, stdenvNoCC
, fetchzip
}:
stdenvNoCC.mkDerivation rec {
pname = "fira-mono";
version = "4.202";
version = "3.2";
src = fetchzip {
url = "https://github.com/mozilla/Fira/archive/${version}.zip";
hash = "sha256-HLReqgL0PXF5vOpwLN0GiRwnzkjGkEVEyOEV2Z4R0oQ=";
url = "https://bboxtype.com/downloads/Fira/Fira_Mono_${lib.replaceStrings ["."] ["_"] version}.zip";
hash = "sha256-Ukc+K2sdSz+vUQFD8mmwJHZQ3N68oM4fk6YzGLwzAfQ=";
};
installPhase = ''
runHook preInstall
install -Dm644 otf/FiraMono*.otf -t $out/share/fonts/opentype
install -Dm644 Fonts/FiraMono_OTF*/*.otf -t $out/share/fonts/opentype
runHook postInstall
'';
meta = with lib; {
homepage = "https://mozilla.github.io/Fira/";
homepage = "https://bboxtype.com/fira/";
description = "Monospace font for Firefox OS";
longDescription = ''
Fira Mono is a monospace font designed by Erik Spiekermann,