Silvan Mosberger 667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 57b193d8ddeaf4f5219d2bae1d23b081e4906e57
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00

43 lines
1.2 KiB
Nix

{
lib,
stdenvNoCC,
fetchzip,
}:
stdenvNoCC.mkDerivation rec {
pname = "fira-sans";
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 Download_Folder_FiraSans*/Fonts/Fira_Sans_OTF*/*/*/*.otf
runHook postInstall
'';
meta = with lib; {
homepage = "https://bboxtype.com/fira/";
description = "Sans-serif font for Firefox OS";
longDescription = ''
Fira Sans is a sans-serif font designed by Erik Spiekermann,
Ralph du Carrois, Anja Meiners and Botio Nikoltchev of Carrois
Type Design for Mozilla Firefox OS. It is closely related to
Spiekermann's FF Meta typeface. Available in Two, Four, Eight,
Hair, Thin, Ultra Light, Extra Light, Light, Book, Regular,
Medium, Semi Bold, Bold, Extra Bold, Heavy weights with
corresponding italic versions.
'';
license = licenses.ofl;
platforms = platforms.all;
};
}