From fe1243cc8ee3c8e9f5a3451b159138744525b572 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 27 Feb 2015 15:34:11 +0000 Subject: [PATCH] Rofi: update to 0.15.2 requires >=automake-1.14 --- pkgs/applications/misc/rofi/default.nix | 12 ++++++++---- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/rofi/default.nix b/pkgs/applications/misc/rofi/default.nix index 74a2b8a896c3..1bbe026cfebd 100644 --- a/pkgs/applications/misc/rofi/default.nix +++ b/pkgs/applications/misc/rofi/default.nix @@ -1,22 +1,26 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig +{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig , libX11, libXinerama, libXft, pango , i3Support ? false, i3 }: stdenv.mkDerivation rec { - version = "0.15.1"; name = "rofi-${version}"; + version = "0.15.2"; src = fetchFromGitHub { repo = "rofi"; owner = "DaveDavenport"; rev = "${version}"; - sha256 = "11fg85xg7mpw9vldmp163c9y398nvbilwqsl06ms0xbbmpyc2hgz"; + sha256 = "0b8k5g2fpqrz1yac09kmfk4caxcc107qq4yhncnl159xdxw66vz8"; }; - buildInputs = [ libX11 libXinerama libXft pango autoreconfHook pkgconfig + buildInputs = [ autoconf automake pkgconfig libX11 libXinerama libXft pango ] ++ stdenv.lib.optional i3Support i3; + preConfigure = '' + autoreconf -vif + ''; + meta = { description = "Window switcher, run dialog and dmenu replacement"; homepage = https://davedavenport.github.io/rofi; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 04263eabfdbb..9b2789932ea0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11298,7 +11298,9 @@ let qt = qt4; }); - rofi = callPackage ../applications/misc/rofi { }; + rofi = callPackage ../applications/misc/rofi { + automake = automake114x; + }; rsync = callPackage ../applications/networking/sync/rsync { enableACLs = !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD);