summary refs log tree commit diff
path: root/pkgs/applications/misc/rofi/default.nix
blob: 74a2b8a896c3f4e2ae1bf713119c7c5d5900a70b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, libX11, libXinerama, libXft, pango
, i3Support ? false, i3
}:

stdenv.mkDerivation rec {
  version = "0.15.1";
  name = "rofi-${version}";

  src = fetchFromGitHub {
    repo = "rofi";
    owner = "DaveDavenport";
    rev = "${version}";
    sha256 = "11fg85xg7mpw9vldmp163c9y398nvbilwqsl06ms0xbbmpyc2hgz";
  };

  buildInputs = [ libX11 libXinerama libXft pango autoreconfHook pkgconfig
                ] ++ stdenv.lib.optional i3Support i3;

  meta = {
      description = "Window switcher, run dialog and dmenu replacement";
      homepage = https://davedavenport.github.io/rofi;
      license = stdenv.lib.licenses.mit;
  };
}