mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-13 15:43:39 +00:00
![aleksana](/assets/img/avatar_default.png)
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "emacs-all-the-icons-fonts";
|
|
version = "5.0.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/domtronn/all-the-icons.el/archive/${version}.zip";
|
|
hash = "sha256-70ysVxOey6NLlCwhEYhxpxO6uuarMFDpg3Efh+3bj1M=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 fonts/*.ttf -t $out/share/fonts/all-the-icons
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
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";
|
|
|
|
/*
|
|
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 ];
|
|
};
|
|
}
|