fira-code: 4 -> 5

This commit is contained in:
Robert Helgesson 2020-06-14 01:20:49 +02:00
parent d6d07f262b
commit a53a6565af
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -1,7 +1,7 @@
{ stdenv, fetchzip }: { stdenv, fetchzip }:
let let
version = "4"; version = "5";
in fetchzip { in fetchzip {
name = "fira-code-${version}"; name = "fira-code-${version}";
@ -9,11 +9,10 @@ in fetchzip {
postFetch = '' postFetch = ''
mkdir -p $out/share/fonts mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
''; '';
sha256 = "0n9qkng31ydvpdjc1an4ylpfy4x883c6czhyzvhjsmavd7bv4j9a"; sha256 = "0y2871fd4l304gd7x5xmqyxv5ch9zrqng83xl95rdhlj9zqqk4fz";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/tonsky/FiraCode"; homepage = "https://github.com/tonsky/FiraCode";