2015-02-27 15:34:11 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig
|
2015-02-05 00:03:09 +00:00
|
|
|
, libX11, libXinerama, libXft, pango
|
|
|
|
, i3Support ? false, i3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rofi-${version}";
|
2015-02-27 15:34:11 +00:00
|
|
|
version = "0.15.2";
|
2015-02-05 00:03:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "rofi";
|
|
|
|
owner = "DaveDavenport";
|
|
|
|
rev = "${version}";
|
2015-02-27 15:34:11 +00:00
|
|
|
sha256 = "0b8k5g2fpqrz1yac09kmfk4caxcc107qq4yhncnl159xdxw66vz8";
|
2015-02-05 00:03:09 +00:00
|
|
|
};
|
|
|
|
|
2015-02-27 15:34:11 +00:00
|
|
|
buildInputs = [ autoconf automake pkgconfig libX11 libXinerama libXft pango
|
2015-02-05 00:03:09 +00:00
|
|
|
] ++ stdenv.lib.optional i3Support i3;
|
|
|
|
|
2015-02-27 15:34:11 +00:00
|
|
|
preConfigure = ''
|
|
|
|
autoreconf -vif
|
|
|
|
'';
|
|
|
|
|
2015-02-05 00:03:09 +00:00
|
|
|
meta = {
|
|
|
|
description = "Window switcher, run dialog and dmenu replacement";
|
|
|
|
homepage = https://davedavenport.github.io/rofi;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|