1 { lib, stdenvNoCC, fetchFromGitHub }:
3 stdenvNoCC.mkDerivation {
4 pname = "powerline-fonts";
5 version = "unstable-2018-11-11";
7 src = fetchFromGitHub {
10 rev = "e80e3eba9091dac0655a0a77472e10f53e754bb0";
11 hash = "sha256-GGfON6Z/0czCUAGxnqtndgDnaZGONFTU9/Hu4BGDHlk=";
17 find . -name '*.otf' -exec install -Dt $out/share/fonts/opentype {} \;
18 find . -name '*.ttf' -exec install -Dt $out/share/fonts/truetype {} \;
19 find . -name '*.bdf' -exec install -Dt $out/share/fonts/bdf {} \;
20 find . -name '*.pcf.gz' -exec install -Dt $out/share/fonts/pcf {} \;
21 find . -name '*.psf.gz' -exec install -Dt $out/share/consolefonts {} \;
27 homepage = "https://github.com/powerline/fonts";
28 description = "Patched fonts for Powerline users";
30 Pre-patched and adjusted fonts for usage with the Powerline plugin.
32 license = with licenses; [ asl20 free ofl ];
33 platforms = platforms.all;
34 maintainers = with maintainers; [ malyn ];