3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/powerline-symbols/default.nix

19 lines
531 B
Nix
Raw Normal View History

2021-01-10 05:30:21 +00:00
{ 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
''