2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2017-04-22 18:54:51 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2019-03-17 22:20:54 +00:00
|
|
|
version = "3.2.0";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip {
|
|
|
|
name = "emacs-all-the-icons-fonts-${version}";
|
2017-04-22 18:54:51 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
url = "https://github.com/domtronn/all-the-icons.el/archive/${version}.zip";
|
2017-04-22 18:54:51 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/all-the-icons
|
2017-04-22 18:54:51 +01:00
|
|
|
'';
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
sha256 = "0ps8q9nkx67ivgn8na4s012360v36jwr0951rsg7j6dyyw9g41jq";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2017-04-22 18:54:51 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/domtronn/all-the-icons.el";
|
2017-04-22 18:54:51 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|