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