nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 36 lines 833 B view raw
1{ lib 2, stdenvNoCC 3, fetchFromGitHub 4}: 5 6stdenvNoCC.mkDerivation rec { 7 pname = "lexend"; 8 version = "0.pre+date=2022-09-22"; 9 10 src = fetchFromGitHub { 11 owner = "googlefonts"; 12 repo = pname; 13 rev = "cd26b9c2538d758138c20c3d2f10362ed613854b"; 14 sha256 = "ZKogntyJ/44GBZmFwbtw5Ujw5Gnvv0tVB59ciKqR4c8="; 15 }; 16 17 installPhase = '' 18 runHook preInstall 19 20 cd fonts 21 for f in *; do 22 install -D -t $out/share/fonts/truetype/lexend/$f $f/ttf/* 23 install -D -t $out/share/fonts/variable/lexend/$f $f/variable/* 24 done 25 26 runHook postInstall 27 ''; 28 29 meta = with lib; { 30 homepage = "https://www.lexend.com"; 31 description = "A variable font family designed to aid in reading proficiency"; 32 license = licenses.ofl; 33 platforms = platforms.all; 34 maintainers = with maintainers; [ fufexan ]; 35 }; 36}