diff options
author | Ryan Mulligan <ryan@ryantm.com> | 2020-03-26 09:30:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 09:30:45 -0700 |
commit | c09f2cce685575409894af2f7b2f190e180e0cef (patch) | |
tree | 1263e957e436b98d974e08cf37bd2f4d5b42f4f4 /pkgs/data/fonts/terminus-nerdfont/default.nix | |
parent | 1aef2037a144d46efce0bf23b5c3c33d6633f00b (diff) | |
parent | ff2883dceab64c1a80b06172f017ae9ad4e3e7b3 (diff) | |
download | nixpkgs-c09f2cce685575409894af2f7b2f190e180e0cef.tar nixpkgs-c09f2cce685575409894af2f7b2f190e180e0cef.tar.gz nixpkgs-c09f2cce685575409894af2f7b2f190e180e0cef.tar.bz2 nixpkgs-c09f2cce685575409894af2f7b2f190e180e0cef.tar.lz nixpkgs-c09f2cce685575409894af2f7b2f190e180e0cef.tar.xz nixpkgs-c09f2cce685575409894af2f7b2f190e180e0cef.tar.zst nixpkgs-c09f2cce685575409894af2f7b2f190e180e0cef.zip |
Merge pull request #63079 from dmvianna/inconsolata-nerdfont-2.0.0
inconsolata-nerdfont: init at 2.0.0
Diffstat (limited to 'pkgs/data/fonts/terminus-nerdfont/default.nix')
-rw-r--r-- | pkgs/data/fonts/terminus-nerdfont/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/data/fonts/terminus-nerdfont/default.nix b/pkgs/data/fonts/terminus-nerdfont/default.nix new file mode 100644 index 00000000000..3c1730146b3 --- /dev/null +++ b/pkgs/data/fonts/terminus-nerdfont/default.nix @@ -0,0 +1,28 @@ +{ lib, fetchzip }: + +let + version = "2.0.0"; +in fetchzip { + name = "terminus-nerdfont-${version}"; + + url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/Terminus.zip"; + + postFetch = '' + mkdir -p $out/share/fonts/terminus-nerdfont + unzip -j $downloadedFile -d $out/share/fonts/terminus-nerdfont + ''; + + sha256 = "036i1qwwrb0r8hvcjf3h34w0g7mbsmngvrjic98jgikbz3i2f46c"; + + meta = with 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. + ''; + homepage = https://github.com/ryanoasis/nerd-fonts; + license = licenses.mit; + platforms = platforms.all; + }; +} |