at 24.05-pre 29 lines 721 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "inter"; 5 version = "3.19"; 6 7 src = fetchzip { 8 url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip"; 9 stripRoot = false; 10 hash = "sha256-6kUQUTFtxiJEU6sYC6HzMwm1H4wvaKIoxoY3F6GJJa8="; 11 }; 12 13 installPhase = '' 14 runHook preInstall 15 16 mkdir -p $out/share/fonts/opentype 17 cp */*.otf $out/share/fonts/opentype 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 homepage = "https://rsms.me/inter/"; 24 description = "A typeface specially designed for user interfaces"; 25 license = licenses.ofl; 26 platforms = platforms.all; 27 maintainers = with maintainers; [ demize dtzWill ]; 28 }; 29}