nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 45 lines 1.4 kB view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation { 4 pname = "lato"; 5 version = "2.0"; 6 7 src = fetchzip { 8 url = "https://www.latofonts.com/download/Lato2OFL.zip"; 9 stripRoot = false; 10 hash = "sha256-n1TsqigCQIGqyGLGTjLtjHuBf/iCwRlnqh21IHfAuXI="; 11 }; 12 13 installPhase = '' 14 runHook preInstall 15 16 install -Dm644 Lato2OFL/*.ttf -t $out/share/fonts/lato 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 homepage = "https://www.latofonts.com/"; 23 24 description = '' 25 Sans-serif typeface family designed in Summer 2010 by Łukasz Dziedzic 26 ''; 27 28 longDescription = '' 29 Lato is a sans-serif typeface family designed in the Summer 2010 by 30 Warsaw-based designer Łukasz Dziedzic ("Lato" means "Summer" in Polish). 31 In December 2010 the Lato family was published under the open-source Open 32 Font License by his foundry tyPoland, with support from Google. 33 34 In 2013-2014, the family was greatly extended to cover 3000+ glyphs per 35 style. The Lato 2.010 family now supports 100+ Latin-based languages, 50+ 36 Cyrillic-based languages as well as Greek and IPA phonetics. In the 37 process, the metrics and kerning of the family have been revised and four 38 additional weights were created. 39 ''; 40 41 license = licenses.ofl; 42 platforms = platforms.all; 43 maintainers = with maintainers; [ chris-martin ]; 44 }; 45}