nerdfonts: 0.7.0 -> 0.8.0, fixes #17693
This commit is contained in:
parent
29572c28a3
commit
60c3f3f2b9
@ -1,13 +1,13 @@
|
|||||||
{ stdenv, fetchFromGitHub, bash, which }:
|
{ stdenv, fetchFromGitHub, bash, which, withFont ? "" }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
name = "nerdfonts-${version}";
|
name = "nerdfonts-${version}";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ryanoasis";
|
owner = "ryanoasis";
|
||||||
repo = "nerd-fonts";
|
repo = "nerd-fonts";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0q2h8hpkbid8idi2kvzx5bnhyh65y51k02g7xpv3drjqj08cz7y0";
|
sha256 = "0n7idfk4460j8g0rw73hzz195pdh4c916hpc5r6dxpvgcmvryzc5";
|
||||||
};
|
};
|
||||||
dontPatchShebangs = true;
|
dontPatchShebangs = true;
|
||||||
buildInputs = [ which ];
|
buildInputs = [ which ];
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts/truetype
|
mkdir -p $out/share/fonts/truetype
|
||||||
./install.sh
|
./install.sh ${withFont}
|
||||||
'';
|
'';
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Nerd Fonts is a project that attempts to patch as many developer targeted and/or used fonts as possible. The patch is to specifically add a high number of additional glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others.";
|
description = "Nerd Fonts is a project that attempts to patch as many developer targeted and/or used fonts as possible. The patch is to specifically add a high number of additional glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user