diff options
author | Richard Lupton <richard.lupton@gmail.com> | 2017-04-22 18:54:51 +0100 |
---|---|---|
committer | Richard Lupton <richard.lupton@gmail.com> | 2017-04-22 18:54:51 +0100 |
commit | 69ed7f6e1280bfdd891d2174628ceeb72bccecb6 (patch) | |
tree | ad7f07008b189de03a293dab50d96469bccb8721 /pkgs/data | |
parent | 5f9096a0332a09f2c61c4b3146b0b25715661ecd (diff) | |
download | nixlib-69ed7f6e1280bfdd891d2174628ceeb72bccecb6.tar nixlib-69ed7f6e1280bfdd891d2174628ceeb72bccecb6.tar.gz nixlib-69ed7f6e1280bfdd891d2174628ceeb72bccecb6.tar.bz2 nixlib-69ed7f6e1280bfdd891d2174628ceeb72bccecb6.tar.lz nixlib-69ed7f6e1280bfdd891d2174628ceeb72bccecb6.tar.xz nixlib-69ed7f6e1280bfdd891d2174628ceeb72bccecb6.tar.zst nixlib-69ed7f6e1280bfdd891d2174628ceeb72bccecb6.zip |
emacs-all-the-icons-fonts: init at 2.5.0
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/emacs-all-the-icons-fonts/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/data/fonts/emacs-all-the-icons-fonts/default.nix b/pkgs/data/fonts/emacs-all-the-icons-fonts/default.nix new file mode 100644 index 000000000000..0e895339f24c --- /dev/null +++ b/pkgs/data/fonts/emacs-all-the-icons-fonts/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "emacs-all-the-icons-fonts-${version}"; + version = "2.50"; + + src = fetchFromGitHub { + owner = "domtronn"; + repo = "all-the-icons.el"; + rev = "2.5.0"; + sha256 = "125qw96rzbkv39skxk5511jrcx9hxm0fqcmny6213wzswgdn37z3"; + }; + + installPhase = '' + mkdir -p $out/share/fonts/all-the-icons + for font in $src/fonts/*.ttf; do cp $font $out/share/fonts/all-the-icons; done + ''; + + meta = with stdenv.lib; { + description = "Icon fonts for emacs all-the-icons"; + longDescription = '' + The emacs package all-the-icons provides icons to improve + presentation of information in emacs. This package provides + the fonts needed to make the package work properly. + ''; + homepage = https://github.com/domtronn/all-the-icons.el; + + /* + The fonts come under a mixture of licenses - the MIT license, + SIL OFL license, and Apache license v2.0. See the GitHub page + for further information. + */ + license = licenses.free; + platforms = platforms.all; + maintainers = with maintainers; [ rlupton20 ]; + }; +} |