2019-12-23 03:37:08 +01:00
|
|
|
{ stdenv, lib, fetchurl
|
2019-07-08 16:22:13 +02:00
|
|
|
, autoreconfHook, pkgconfig, libxkbcommon, pango, which, git
|
2018-07-21 02:44:44 +02:00
|
|
|
, cairo, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification
|
2017-10-14 22:08:19 +02:00
|
|
|
, bison, flex, librsvg, check
|
2015-02-05 01:03:09 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-08 16:22:13 +02:00
|
|
|
pname = "rofi-unwrapped";
|
|
|
|
version = "1.5.4";
|
2015-02-05 01:03:09 +01:00
|
|
|
|
2015-06-19 00:10:01 +02:00
|
|
|
src = fetchurl {
|
2019-07-08 16:22:13 +02:00
|
|
|
url = "https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.gz";
|
|
|
|
sha256 = "1g1170zmh5v7slnm1sm2d08jgz6icikf8rm17apm1bjzzyw1lhk7";
|
2015-02-05 01:03:09 +01:00
|
|
|
};
|
|
|
|
|
2016-04-24 17:55:20 +02:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs "script"
|
|
|
|
# root not present in build /etc/passwd
|
|
|
|
sed -i 's/~root/~nobody/g' test/helper-expand.c
|
|
|
|
'';
|
|
|
|
|
2019-12-23 03:37:08 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2017-10-14 22:08:19 +02:00
|
|
|
buildInputs = [ libxkbcommon pango cairo git bison flex librsvg check
|
2016-12-31 15:22:22 +01:00
|
|
|
libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm which
|
2016-08-13 22:30:07 +02:00
|
|
|
];
|
2019-07-08 16:22:13 +02:00
|
|
|
|
2018-03-11 18:24:08 +01:00
|
|
|
doCheck = false;
|
2015-02-05 01:03:09 +01:00
|
|
|
|
2019-07-08 16:22:13 +02:00
|
|
|
meta = with lib; {
|
2016-05-15 06:15:26 +02:00
|
|
|
description = "Window switcher, run dialog and dmenu replacement";
|
2019-07-08 16:22:13 +02:00
|
|
|
homepage = "https://github.com/davatorium/rofi";
|
2016-05-15 06:15:26 +02:00
|
|
|
license = licenses.mit;
|
2019-12-26 15:13:48 +01:00
|
|
|
maintainers = with maintainers; [ mbakke ];
|
2018-11-25 21:52:27 +01:00
|
|
|
platforms = with platforms; linux;
|
2015-02-05 01:03:09 +01:00
|
|
|
};
|
|
|
|
}
|