fira-code: 3.1 -> 4
This commit is contained in:
parent
f82e267fb2
commit
09efe9dc0e
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchzip }:
|
{ stdenv, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.1";
|
version = "4";
|
||||||
in fetchzip {
|
in fetchzip {
|
||||||
name = "fira-code-${version}";
|
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 = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts
|
mkdir -p $out/share/fonts
|
||||||
|
@ -13,7 +13,7 @@ in fetchzip {
|
||||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "1rk5hiix282b1gsxq9kqma2q9fnydj0xl9vbrd88rf7ywvn75817";
|
sha256 = "0n9qkng31ydvpdjc1an4ylpfy4x883c6czhyzvhjsmavd7bv4j9a";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/tonsky/FiraCode";
|
homepage = "https://github.com/tonsky/FiraCode";
|
||||||
|
|
Loading…
Reference in a new issue