2021-11-03 23:05:12 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
with pkgs;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rofi-wayland-unwrapped";
|
2022-02-22 20:10:35 +01:00
|
|
|
version = "1.7.3";
|
2021-11-03 23:05:12 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lbonn";
|
|
|
|
repo = "rofi";
|
|
|
|
rev = "${version}+wayland1";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
sha256 = "1h6lh4lrkxzs6iy2rzn5g71dnz6qck4j8cxpgy1ja179vrnj1sf7";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs "script"
|
|
|
|
# root not present in build /etc/passwd
|
|
|
|
sed -i 's/~root/~nobody/g' test/helper-expand.c
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
2021-11-12 17:10:17 +01:00
|
|
|
buildInputs = with pkgs; [
|
2021-11-03 23:05:12 +01:00
|
|
|
libxkbcommon
|
|
|
|
pango
|
|
|
|
cairo
|
|
|
|
git
|
|
|
|
bison
|
|
|
|
flex
|
|
|
|
librsvg
|
|
|
|
check
|
|
|
|
libstartup_notification
|
2021-11-12 17:10:17 +01:00
|
|
|
xorg.libxcb
|
|
|
|
xorg.xcbutil
|
|
|
|
xorg.xcbutilwm
|
2021-11-16 00:22:18 +01:00
|
|
|
xcb-util-cursor
|
2021-11-03 23:05:12 +01:00
|
|
|
xcbutilxrm
|
|
|
|
which
|
|
|
|
wayland-protocols
|
|
|
|
wayland
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Window switcher, run dialog and dmenu replacement";
|
|
|
|
homepage = "https://github.com/davatorium/rofi";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ c0deaddict ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|