Skip to content

Commit

Permalink
Merge pull request #17719 from mbakke/rofi-1.2.0
Browse files Browse the repository at this point in the history
rofi: 1.1.0 -> 1.2.0
  • Loading branch information
garbas committed Aug 14, 2016
2 parents 45d1836 + b5bd862 commit 6f074ba
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/maintainers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
mathnerd314 = "Mathnerd314 <mathnerd314.gph+hs@gmail.com>";
matthiasbeyer = "Matthias Beyer <mail@beyermatthias.de>";
maurer = "Matthew Maurer <matthew.r.maurer+nix@gmail.com>";
mbakke = "Marius Bakke <ymse@tuta.io>";
mbakke = "Marius Bakke <mbakke@fastmail.com>";
matthewbauer = "Matthew Bauer <mjbauer95@gmail.com>";
mbe = "Brandon Edens <brandonedens@gmail.com>";
mboes = "Mathieu Boespflug <mboes@tweag.net>";
Expand Down
16 changes: 8 additions & 8 deletions pkgs/applications/misc/rofi/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libX11, libxkbcommon, pango
, cairo, glib, libxcb, xcbutil, xcbutilwm, libstartup_notification
, i3Support ? false, i3
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libxkbcommon, pango
, cairo, glib, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification
}:

stdenv.mkDerivation rec {
version = "1.1.0";
version = "1.2.0";
name = "rofi-${version}";

src = fetchurl {
url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/${name}.tar.xz";
sha256 = "1l8vl0mh7i0b1ycifqpg6392f5i4qxlv003m126skfk6fnlfq8hn";
sha256 = "0xxx0xpxhrhlhi2axq9867zqrhwqavc1qrr833k1xr0pvm5m0aqc";
};

preConfigure = ''
Expand All @@ -18,9 +17,10 @@ stdenv.mkDerivation rec {
sed -i 's/~root/~nobody/g' test/helper-expand.c
'';

buildInputs = [ autoreconfHook pkgconfig libX11 libxkbcommon pango
cairo libstartup_notification libxcb xcbutil xcbutilwm
] ++ stdenv.lib.optional i3Support i3;
buildInputs = [ autoreconfHook pkgconfig libxkbcommon pango cairo
libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm
];
doCheck = true;

meta = with stdenv.lib; {
description = "Window switcher, run dialog and dmenu replacement";
Expand Down
22 changes: 22 additions & 0 deletions pkgs/servers/x11/xorg/xcb-util-xrm.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ stdenv, fetchurl, pkgconfig, m4, libxcb, xcbutil, libX11 }:

stdenv.mkDerivation rec {
version = "1.0";
name = "xcb-util-xrm-${version}";

src = fetchurl {
url = "https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/${name}.tar.bz2";
sha256 = "1h5vxwpd37dqfw9yj1l4zd9c5dj30r3g0szgysr6kd7xrqgaq04l";
};

buildInputs = [ pkgconfig m4 libxcb xcbutil ]
++ stdenv.lib.optional doCheck [ libX11 ];
doCheck = true;

meta = with stdenv.lib; {
description = "XCB utility functions for the X resource manager";
homepage = https://github.com/Airblader/xcb-util-xrm;
license = licenses.mit; # X11 variant
platforms = with platforms; unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9746,6 +9746,8 @@ in
xcb-util-cursor = xorg.xcbutilcursor;
xcb-util-cursor-HEAD = callPackage ../development/libraries/xcb-util-cursor/HEAD.nix { };

xcbutilxrm = callPackage ../servers/x11/xorg/xcb-util-xrm.nix { };

xdo = callPackage ../tools/misc/xdo { };

xineLib = callPackage ../development/libraries/xine-lib {
Expand Down

0 comments on commit 6f074ba

Please sign in to comment.