2 , buildPythonApplication
9 , waylandSupport ? false
18 buildPythonApplication rec {
23 src = fetchFromGitHub {
26 rev = "refs/tags/${version}";
27 hash = "sha256-wUb89GkNB2lEfb42hMvcxpbjc1O+wx8AkFjq7aJwAko=";
37 ] ++ lib.optionals waylandSupport [
40 ] ++ lib.optionals x11Support [
45 propagatedBuildInputs = [ configargparse ];
47 pythonImportsCheck = [ "rofi_rbw" ];
51 ] ++ lib.optionals waylandSupport [
54 ] ++ lib.optionals x11Support [
60 lib.optionalString waylandSupport "--typer wtype --clipboarder wl-copy"
61 + lib.optionalString x11Support "--typer xdotool --clipboarder xclip";
64 makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath wrapper_paths} --add-flags "${wrapper_flags}")
68 description = "Rofi frontend for Bitwarden";
69 homepage = "https://github.com/fdw/rofi-rbw";
70 license = licenses.mit;
71 maintainers = with maintainers; [ equirosa dit7ya ];
72 platforms = platforms.linux;
73 mainProgram = "rofi-rbw";