Merge pull request #108916 from midchildan/powerline-symbols/init

powerline-symbols: init at 2.8.1
This commit is contained in:
Sandro 2021-01-22 14:14:55 +01:00 committed by GitHub
commit be3f605eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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