summary refs log tree commit diff
path: root/pkgs/data/fonts/powerline-symbols
diff options
context:
space:
mode:
authormidchildan <git@midchildan.org>2021-01-10 14:30:21 +0900
committermidchildan <git@midchildan.org>2021-01-10 14:30:21 +0900
commit6e098fa12e6fe28737f14425af23decb135a8e92 (patch)
tree7fcc3e4f1ae4770343d629551b080de00e08ac71 /pkgs/data/fonts/powerline-symbols
parent2032339e5bbce8a57655b8742190ecb32b7af863 (diff)
downloadnixpkgs-6e098fa12e6fe28737f14425af23decb135a8e92.tar
nixpkgs-6e098fa12e6fe28737f14425af23decb135a8e92.tar.gz
nixpkgs-6e098fa12e6fe28737f14425af23decb135a8e92.tar.bz2
nixpkgs-6e098fa12e6fe28737f14425af23decb135a8e92.tar.lz
nixpkgs-6e098fa12e6fe28737f14425af23decb135a8e92.tar.xz
nixpkgs-6e098fa12e6fe28737f14425af23decb135a8e92.tar.zst
nixpkgs-6e098fa12e6fe28737f14425af23decb135a8e92.zip
powerline-symbols: init at 2.8.1
Diffstat (limited to 'pkgs/data/fonts/powerline-symbols')
-rw-r--r--pkgs/data/fonts/powerline-symbols/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/data/fonts/powerline-symbols/default.nix b/pkgs/data/fonts/powerline-symbols/default.nix
new file mode 100644
index 00000000000..69e3bb59df6
--- /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
+''