Include Monaco for Powerline
This probably shouldn't be included within a git repo, but it's small enough that we're not going to fret about it too much.
This commit is contained in:
parent
1927e8e2fe
commit
041bf3a81f
5 changed files with 36 additions and 6 deletions
22
pkgs/monaco-powerline/default.nix
Normal file
22
pkgs/monaco-powerline/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib, stdenvNoCC }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "monaco-powerline";
|
||||
version = "1.0";
|
||||
|
||||
# This font is located in the same directory.
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 ${./monaco-for-powerline.otf} -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Monaco font, but patched to include powerline symbols";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue