13 # TODO: bzr support is missing because nixpkgs switched to `breezy`
15 buildPythonPackage rec {
19 src = fetchFromGitHub {
23 sha256 = "sha256-6V8ozl5KJQvytfflBmKJlIZQ5m3hkpCzMBtWZ2SzcQ0=";
26 propagatedBuildInputs = [
32 ] ++ lib.optionals (!stdenv.isDarwin) [ i3ipc ];
34 # tests are travis-specific
38 install -dm755 "$out/share/fonts/OTF/"
39 install -dm755 "$out/etc/fonts/conf.d"
40 install -m644 "font/PowerlineSymbols.otf" "$out/share/fonts/OTF/PowerlineSymbols.otf"
41 install -m644 "font/10-powerline-symbols.conf" "$out/etc/fonts/conf.d/10-powerline-symbols.conf"
43 install -dm755 "$out/share/fish/vendor_functions.d"
44 install -m644 "powerline/bindings/fish/powerline-setup.fish" "$out/share/fish/vendor_functions.d/powerline-setup.fish"
46 cp -ra powerline/bindings/{bash,shell,tcsh,tmux,vim,zsh} $out/share/
51 homepage = "https://github.com/powerline/powerline";
52 description = "The ultimate statusline/prompt utility";
53 license = lib.licenses.mit;