nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 37 lines 1.1 kB view raw
1{ lib, stdenvNoCC, fetchFromGitHub }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "fira"; 5 version = "4.202"; 6 7 src = fetchFromGitHub { 8 owner = "mozilla"; 9 repo = "Fira"; 10 rev = version; 11 hash = "sha256-HLReqgL0PXF5vOpwLN0GiRwnzkjGkEVEyOEV2Z4R0oQ="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 17 install --mode=-x -Dt $out/share/fonts/opentype otf/*.otf 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 homepage = "https://mozilla.github.io/Fira/"; 24 description = "Sans-serif font for Firefox OS"; 25 longDescription = '' 26 Fira Sans is a sans-serif font designed by Erik Spiekermann, 27 Ralph du Carrois, Anja Meiners and Botio Nikoltchev of Carrois 28 Type Design for Mozilla Firefox OS. It is closely related to 29 Spiekermann's FF Meta typeface. Available in Two, Four, Eight, 30 Hair, Thin, Ultra Light, Extra Light, Light, Book, Regular, 31 Medium, Semi Bold, Bold, Extra Bold, Heavy weights with 32 corresponding italic versions. 33 ''; 34 license = licenses.ofl; 35 platforms = platforms.all; 36 }; 37}