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