23 lines
609 B
Nix
23 lines
609 B
Nix
|
{
|
||
|
lib,
|
||
|
fetchzip,
|
||
|
}:
|
||
|
fetchzip {
|
||
|
name = "nerdfont-symbols-only";
|
||
|
url = "https://github.com/ryanoasis/nerd-fonts/releases/download/2.2.0-RC/NerdFontsSymbolsOnly.zip";
|
||
|
|
||
|
sha256 = "sha256-UQatqcUf41mqki6hy/zFpz8GgiM0sUAe83ghI5we5rA=";
|
||
|
|
||
|
postFetch = ''
|
||
|
mkdir -p $out/share/fonts/opentype/NerdFontSymbolsOnly
|
||
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype/NerdFontSymbolsOnly
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "The Nerd Fonts symbols in 1 font.";
|
||
|
homepage = "https://nerdfonts.com";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [mrhedgehog];
|
||
|
};
|
||
|
}
|