diff options
author | José Romildo <malaquias@gmail.com> | 2024-06-17 10:37:12 -0300 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2024-06-18 11:39:05 +0200 |
commit | 6d999d06b93863f9046a66b71345d0a15efc594c (patch) | |
tree | f2cfda4f82ab70ffc4495bde95902ec6b3d2730d /pkgs/by-name/fi | |
parent | c25ea56eb4baba104115667cb225434ad6206dcf (diff) |
fira-sans: 4.202 -> 4.301
- 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.
Diffstat (limited to 'pkgs/by-name/fi')
-rw-r--r-- | pkgs/by-name/fi/fira-sans/package.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/by-name/fi/fira-sans/package.nix b/pkgs/by-name/fi/fira-sans/package.nix index c07cc15c97cce..0a2bc0e0f6284 100644 --- a/pkgs/by-name/fi/fira-sans/package.nix +++ b/pkgs/by-name/fi/fira-sans/package.nix @@ -1,22 +1,28 @@ { lib , stdenvNoCC -, fira-mono +, fetchzip }: -stdenvNoCC.mkDerivation { +stdenvNoCC.mkDerivation rec { pname = "fira-sans"; - inherit (fira-mono) version src; + version = "4.301"; + + src = fetchzip { + url = "https://bboxtype.com/downloads/Fira/Download_Folder_FiraSans_${lib.replaceStrings ["."] [""] version}.zip"; + hash = "sha256-WBt3oqPK7ACqMhilYkyFx9Ek2ugwdCDFZN+8HLRnGRs"; + stripRoot = false; + }; installPhase = '' runHook preInstall - install --mode=-x -Dt $out/share/fonts/opentype otf/FiraSans*.otf + install --mode=-x -Dt $out/share/fonts/opentype Download_Folder_FiraSans*/Fonts/Fira_Sans_OTF*/*/*/*.otf runHook postInstall ''; meta = with lib; { - homepage = "https://mozilla.github.io/Fira/"; + homepage = "https://bboxtype.com/fira/"; description = "Sans-serif font for Firefox OS"; longDescription = '' Fira Sans is a sans-serif font designed by Erik Spiekermann, |