fira-code: 3.1 -> 4

This commit is contained in:
Robert Helgesson 2020-05-18 22:59:48 +02:00
parent f82e267fb2
commit 09efe9dc0e
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -1,11 +1,11 @@
{ stdenv, fetchzip }:
let
version = "3.1";
version = "4";
in fetchzip {
name = "fira-code-${version}";
url = "https://github.com/tonsky/FiraCode/releases/download/${version}/FiraCode_${version}.zip";
url = "https://github.com/tonsky/FiraCode/releases/download/${version}/Fira_Code_v${version}.zip";
postFetch = ''
mkdir -p $out/share/fonts
@ -13,7 +13,7 @@ in fetchzip {
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
'';
sha256 = "1rk5hiix282b1gsxq9kqma2q9fnydj0xl9vbrd88rf7ywvn75817";
sha256 = "0n9qkng31ydvpdjc1an4ylpfy4x883c6czhyzvhjsmavd7bv4j9a";
meta = with stdenv.lib; {
homepage = "https://github.com/tonsky/FiraCode";