Skip to content

Commit

Permalink
Merge pull request #64447 from xrelkd/update/rofi
Browse files Browse the repository at this point in the history
rofi: 1.5.3 -> 1.5.4
  • Loading branch information
worldofpeace authored Jul 8, 2019
2 parents 3752453 + 6a41fca commit 5b4e865
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
16 changes: 9 additions & 7 deletions pkgs/applications/misc/rofi/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libxkbcommon, pango, which, git
{ stdenv, lib, fetchurl
, autoreconfHook, pkgconfig, libxkbcommon, pango, which, git
, cairo, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification
, bison, flex, librsvg, check
}:

stdenv.mkDerivation rec {
version = "1.5.3";
name = "rofi-unwrapped-${version}";
pname = "rofi-unwrapped";
version = "1.5.4";

src = fetchurl {
url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/rofi-${version}.tar.gz";
sha256 = "1mskknfnpgmaghplwcyc44qc8swb1f9qiyi67fz9i77jijjpj1lx";
url = "https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.gz";
sha256 = "1g1170zmh5v7slnm1sm2d08jgz6icikf8rm17apm1bjzzyw1lhk7";
};

preConfigure = ''
Expand All @@ -22,11 +23,12 @@ stdenv.mkDerivation rec {
buildInputs = [ libxkbcommon pango cairo git bison flex librsvg check
libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm which
];

doCheck = false;

meta = with stdenv.lib; {
meta = with lib; {
description = "Window switcher, run dialog and dmenu replacement";
homepage = https://github.com/davatorium/rofi;
homepage = "https://github.com/davatorium/rofi";
license = licenses.mit;
maintainers = with maintainers; [ mbakke ma27 ];
platforms = with platforms; linux;
Expand Down
4 changes: 3 additions & 1 deletion pkgs/applications/misc/rofi/wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

if theme == null then rofi-unwrapped else
stdenv.mkDerivation {
name = "rofi-${rofi-unwrapped.version}";
pname = "rofi";
version = rofi-unwrapped.version;

buildInputs = [ makeWrapper ];
preferLocalBuild = true;
passthru.unwrapped = rofi-unwrapped;
Expand Down

0 comments on commit 5b4e865

Please sign in to comment.