parent
b9ffa19db8
commit
06a56e8a10
|
@ -1,16 +1,15 @@
|
||||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libX11, libxkbcommon, pango
|
||||||
, libX11, libxkbcommon, pango, cairo, glib
|
, cairo, glib, libxcb, xcbutil, xcbutilwm, which, git, libstartup_notification
|
||||||
, libxcb, xcbutil, xcbutilwm, which, git
|
, i3Support ? false, i3
|
||||||
, libstartup_notification, i3Support ? false, i3
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
version = "1.0.1";
|
||||||
name = "rofi-${version}";
|
name = "rofi-${version}";
|
||||||
version = "1.0.0";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/${name}.tar.xz";
|
url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/${name}.tar.xz";
|
||||||
sha256 = "0ard95pjgykafm5ga8lfy7x206f07lrc6kara5s9irlhdgblq2m5";
|
sha256 = "01jxml9vk4cw7pngpan7dipmb98s6ibh6f0023lw3hbgxy650637";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -20,16 +19,13 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ autoreconfHook pkgconfig libX11 libxkbcommon pango
|
buildInputs = [ autoreconfHook pkgconfig libX11 libxkbcommon pango
|
||||||
cairo libstartup_notification libxcb xcbutil xcbutilwm
|
cairo libstartup_notification libxcb xcbutil xcbutilwm which git
|
||||||
which git
|
] ++ stdenv.lib.optional i3Support i3;
|
||||||
] ++ stdenv.lib.optional i3Support i3;
|
|
||||||
|
|
||||||
doCheck = true;
|
meta = with stdenv.lib; {
|
||||||
|
description = "Window switcher, run dialog and dmenu replacement";
|
||||||
meta = {
|
homepage = https://davedavenport.github.io/rofi;
|
||||||
description = "Window switcher, run dialog and dmenu replacement";
|
license = licenses.mit;
|
||||||
homepage = https://davedavenport.github.io/rofi;
|
maintainers = with maintainers; [ mbakke garbas ];
|
||||||
license = stdenv.lib.licenses.mit;
|
|
||||||
maintainers = [ stdenv.lib.maintainers.mbakke ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue