3 buildPythonApplication,
10 waylandSupport ? false,
19 buildPythonApplication rec {
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-wUb89GkNB2lEfb42hMvcxpbjc1O+wx8AkFjq7aJwAko=";
40 ++ lib.optionals waylandSupport [
44 ++ lib.optionals x11Support [
49 propagatedBuildInputs = [ configargparse ];
51 pythonImportsCheck = [ "rofi_rbw" ];
57 ++ lib.optionals waylandSupport [
61 ++ lib.optionals x11Support [
67 lib.optionalString waylandSupport "--typer wtype --clipboarder wl-copy"
68 + lib.optionalString x11Support "--typer xdotool --clipboarder xclip";
71 makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath wrapper_paths} --add-flags "${wrapper_flags}")
75 description = "Rofi frontend for Bitwarden";
76 homepage = "https://github.com/fdw/rofi-rbw";
77 license = licenses.mit;
78 maintainers = with maintainers; [
82 platforms = platforms.linux;
83 mainProgram = "rofi-rbw";