2015-06-19 01:10:01 +03:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, pkgconfig
|
2015-10-26 01:46:37 +03:00
|
|
|
, libX11, libXinerama, libXft, pango, cairo
|
|
|
|
, libstartup_notification, i3Support ? false, i3
|
2015-02-05 03:03:09 +03:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rofi-${version}";
|
2015-10-26 01:46:37 +03:00
|
|
|
version = "0.15.10";
|
2015-02-05 03:03:09 +03:00
|
|
|
|
2015-06-19 01:10:01 +03:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/DaveDavenport/rofi/archive/${version}.tar.gz";
|
2015-10-26 01:46:37 +03:00
|
|
|
sha256 = "0wwdc9dj8qfmqv4pcllq78h38hqmz9s3hqf71fsk71byiid69ln9";
|
2015-02-05 03:03:09 +03:00
|
|
|
};
|
|
|
|
|
2015-02-27 18:34:11 +03:00
|
|
|
buildInputs = [ autoconf automake pkgconfig libX11 libXinerama libXft pango
|
2015-10-26 01:46:37 +03:00
|
|
|
cairo libstartup_notification
|
2015-02-05 03:03:09 +03:00
|
|
|
] ++ stdenv.lib.optional i3Support i3;
|
|
|
|
|
2015-02-27 18:34:11 +03:00
|
|
|
preConfigure = ''
|
|
|
|
autoreconf -vif
|
|
|
|
'';
|
|
|
|
|
2015-02-05 03:03:09 +03:00
|
|
|
meta = {
|
|
|
|
description = "Window switcher, run dialog and dmenu replacement";
|
|
|
|
homepage = https://davedavenport.github.io/rofi;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2015-06-19 01:10:01 +03:00
|
|
|
maintainers = [ stdenv.lib.maintainers.mbakke ];
|
2015-02-05 03:03:09 +03:00
|
|
|
};
|
|
|
|
}
|