diff --git a/pkgs/data/fonts/powerline-symbols/default.nix b/pkgs/data/fonts/powerline-symbols/default.nix new file mode 100644 index 000000000000..69e3bb59df69 --- /dev/null +++ b/pkgs/data/fonts/powerline-symbols/default.nix @@ -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 +'' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c460379c313c..3f48babaa240 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20278,6 +20278,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 {