powerline-symbols: init at 2.8.1

This commit is contained in:
midchildan 2021-01-10 14:30:21 +09:00
parent 2032339e5b
commit 6e098fa12e
No known key found for this signature in database
GPG Key ID: D9A5748BACC6E3C2
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{ lib, runCommandNoCC, powerline }:
let
inherit (powerline) version;
in runCommandNoCC "powerline-symbols-${version}" {
meta = {
inherit (powerline.meta) license;
priority = (powerline.meta.priority or 0) + 1;
maintainers = with lib.maintainers; [ midchildan ];
};
} ''
install -Dm644 \
${powerline.src}/font/PowerlineSymbols.otf \
$out/share/fonts/OTF/PowerlineSymbols.otf
install -Dm644 \
${powerline.src}/font/10-powerline-symbols.conf \
$out/etc/fonts/conf.d/10-powerline-symbols.conf
''

View File

@ -20278,6 +20278,8 @@ in
powerline-fonts = callPackage ../data/fonts/powerline-fonts { }; powerline-fonts = callPackage ../data/fonts/powerline-fonts { };
powerline-symbols = callPackage ../data/fonts/powerline-symbols { };
powerline-go = callPackage ../tools/misc/powerline-go { }; powerline-go = callPackage ../tools/misc/powerline-go { };
powerline-rs = callPackage ../tools/misc/powerline-rs { powerline-rs = callPackage ../tools/misc/powerline-rs {