about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorBenoit de Chezelles <benoit.dechezelles@gmail.com>2021-09-02 22:06:13 +0200
committerBenoit de Chezelles <benoit.dechezelles@gmail.com>2021-09-02 23:15:45 +0200
commit2d9bf0131075011006fa0ed5e29c27d4f1db39d0 (patch)
treeec63f3bad2da5db80b8b608b3fe3b3160f2dd875 /pkgs/applications
parent265795962ce0f15c8b758c51f7f2e8120768c117 (diff)
downloadnixlib-2d9bf0131075011006fa0ed5e29c27d4f1db39d0.tar
nixlib-2d9bf0131075011006fa0ed5e29c27d4f1db39d0.tar.gz
nixlib-2d9bf0131075011006fa0ed5e29c27d4f1db39d0.tar.bz2
nixlib-2d9bf0131075011006fa0ed5e29c27d4f1db39d0.tar.lz
nixlib-2d9bf0131075011006fa0ed5e29c27d4f1db39d0.tar.xz
nixlib-2d9bf0131075011006fa0ed5e29c27d4f1db39d0.tar.zst
nixlib-2d9bf0131075011006fa0ed5e29c27d4f1db39d0.zip
rofi: 1.6.1 -> 1.7.0
And add myself as a maintainer
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/rofi/default.nix55
1 files changed, 44 insertions, 11 deletions
diff --git a/pkgs/applications/misc/rofi/default.nix b/pkgs/applications/misc/rofi/default.nix
index d47d1fe26a61..12daea00cad3 100644
--- a/pkgs/applications/misc/rofi/default.nix
+++ b/pkgs/applications/misc/rofi/default.nix
@@ -1,16 +1,35 @@
-{ stdenv, lib, fetchurl
-, autoreconfHook, pkg-config, libxkbcommon, pango, which, git
-, cairo, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification
-, bison, flex, librsvg, check
+{ stdenv
+, lib
+, fetchFromGitHub
+, autoreconfHook
+, pkg-config
+, libxkbcommon
+, pango
+, which
+, git
+, cairo
+, libxcb
+, xcbutil
+, xcbutilwm
+, xcbutilxrm
+, xcb-util-cursor
+, libstartup_notification
+, bison
+, flex
+, librsvg
+, check
 }:
 
 stdenv.mkDerivation rec {
   pname = "rofi-unwrapped";
-  version = "1.6.1";
+  version = "1.7.0";
 
-  src = fetchurl {
-    url = "https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.gz";
-    sha256 = "04glljqbf9ckkc6x6fv4x1gqmy468n1agya0kd8rxdvz24wzf7cd";
+  src = fetchFromGitHub {
+    owner = "davatorium";
+    repo = "rofi";
+    rev = version;
+    fetchSubmodules = true;
+    sha256 = "03wdy56b3g8p2czb0qydrddyyhj3x037pirnhyqr5qbfczb9a63v";
   };
 
   preConfigure = ''
@@ -20,8 +39,22 @@ stdenv.mkDerivation rec {
   '';
 
   nativeBuildInputs = [ autoreconfHook pkg-config ];
-  buildInputs = [ libxkbcommon pango cairo git bison flex librsvg check
-    libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm which
+  buildInputs = [
+    libxkbcommon
+    pango
+    cairo
+    git
+    bison
+    flex
+    librsvg
+    check
+    libstartup_notification
+    libxcb
+    xcbutil
+    xcbutilwm
+    xcbutilxrm
+    xcb-util-cursor
+    which
   ];
 
   doCheck = false;
@@ -30,7 +63,7 @@ stdenv.mkDerivation rec {
     description = "Window switcher, run dialog and dmenu replacement";
     homepage = "https://github.com/davatorium/rofi";
     license = licenses.mit;
-    maintainers = with maintainers; [ ];
+    maintainers = with maintainers; [ bew ];
     platforms = with platforms; linux;
   };
 }