2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "emacs-all-the-icons-fonts";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "5.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/domtronn/all-the-icons.el/archive/${version}.zip";
|
|
|
|
hash = "sha256-70ysVxOey6NLlCwhEYhxpxO6uuarMFDpg3Efh+3bj1M=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
install -Dm644 fonts/*.ttf -t $out/share/fonts/all-the-icons
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with 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";
|
|
|
|
|
|
|
|
/*
|
2023-02-02 18:25:31 +00: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.
|
2020-04-24 23:36:52 +00:00
|
|
|
*/
|
|
|
|
license = licenses.free;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ rlupton20 ];
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
}
|