2016-01-18 02:04:40 +03:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig
|
2016-01-11 02:24:54 +03:00
|
|
|
, libX11, libXinerama, pango, cairo
|
2015-10-26 01:46:37 +03:00
|
|
|
, libstartup_notification, i3Support ? false, i3
|
2015-02-05 03:03:09 +03:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rofi-${version}";
|
2016-01-11 02:24:54 +03:00
|
|
|
version = "0.15.12";
|
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";
|
2016-01-11 02:24:54 +03:00
|
|
|
sha256 = "112fgx2awsw1xf1983bmy3jvs33qwyi8qj7j59jqc4gx07nv1rp5";
|
2015-02-05 03:03:09 +03:00
|
|
|
};
|
|
|
|
|
2016-01-18 02:04:40 +03:00
|
|
|
buildInputs = [ autoreconfHook pkgconfig libX11 libXinerama 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;
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|