at 18.03-beta 29 lines 819 B view raw
1{ stdenv, fetchzip }: 2 3let 4 version = "1.205"; 5in fetchzip { 6 name = "fira-code-${version}"; 7 8 url = "https://github.com/tonsky/FiraCode/releases/download/${version}/FiraCode_${version}.zip"; 9 10 postFetch = '' 11 mkdir -p $out/share/fonts 12 unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 13 ''; 14 15 sha256 = "0h8b89d1n3y56k7x9zrwm9fic09ccg1mc7g1258g152m5g6z6zms"; 16 17 meta = with stdenv.lib; { 18 homepage = https://github.com/tonsky/FiraCode; 19 description = "Monospace font with programming ligatures"; 20 longDescription = '' 21 Fira Code is a monospace font extending the Fira Mono font with 22 a set of ligatures for common programming multi-character 23 combinations. 24 ''; 25 license = licenses.ofl; 26 maintainers = [ maintainers.rycee ]; 27 platforms = platforms.all; 28 }; 29}