diff --git a/pkgs/applications/misc/rofi/default.nix b/pkgs/applications/misc/rofi/default.nix index e1ee9b2d145d..ee068e2045e0 100644 --- a/pkgs/applications/misc/rofi/default.nix +++ b/pkgs/applications/misc/rofi/default.nix @@ -1,16 +1,15 @@ -{ stdenv, fetchurl, autoreconfHook, pkgconfig -, libX11, libxkbcommon, pango, cairo, glib -, libxcb, xcbutil, xcbutilwm, which, git -, libstartup_notification, i3Support ? false, i3 +{ stdenv, fetchurl, autoreconfHook, pkgconfig, libX11, libxkbcommon, pango +, cairo, glib, libxcb, xcbutil, xcbutilwm, which, git, libstartup_notification +, i3Support ? false, i3 }: stdenv.mkDerivation rec { + version = "1.0.1"; name = "rofi-${version}"; - version = "1.0.0"; src = fetchurl { url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/${name}.tar.xz"; - sha256 = "0ard95pjgykafm5ga8lfy7x206f07lrc6kara5s9irlhdgblq2m5"; + sha256 = "01jxml9vk4cw7pngpan7dipmb98s6ibh6f0023lw3hbgxy650637"; }; preConfigure = '' @@ -20,16 +19,13 @@ stdenv.mkDerivation rec { ''; buildInputs = [ autoreconfHook pkgconfig libX11 libxkbcommon pango - cairo libstartup_notification libxcb xcbutil xcbutilwm - which git - ] ++ stdenv.lib.optional i3Support i3; + cairo libstartup_notification libxcb xcbutil xcbutilwm which git + ] ++ stdenv.lib.optional i3Support i3; - doCheck = true; - - meta = { - description = "Window switcher, run dialog and dmenu replacement"; - homepage = https://davedavenport.github.io/rofi; - license = stdenv.lib.licenses.mit; - maintainers = [ stdenv.lib.maintainers.mbakke ]; + meta = with stdenv.lib; { + description = "Window switcher, run dialog and dmenu replacement"; + homepage = https://davedavenport.github.io/rofi; + license = licenses.mit; + maintainers = with maintainers; [ mbakke garbas ]; }; }