{ stdenv, fetchzip }: let version = "5"; in fetchzip { name = "fira-code-${version}"; url = "https://github.com/tonsky/FiraCode/releases/download/${version}/Fira_Code_v${version}.zip"; postFetch = '' mkdir -p $out/share/fonts unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype ''; sha256 = "0y2871fd4l304gd7x5xmqyxv5ch9zrqng83xl95rdhlj9zqqk4fz"; meta = with stdenv.lib; { homepage = "https://github.com/tonsky/FiraCode"; description = "Monospace font with programming ligatures"; longDescription = '' Fira Code is a monospace font extending the Fira Mono font with a set of ligatures for common programming multi-character combinations. ''; license = licenses.ofl; maintainers = [ maintainers.rycee ]; platforms = platforms.all; }; }