9 , waylandSupport ? true
22 import ./versions.nix ({ version, hash, patches}:
23 stdenv.mkDerivation rec {
27 src = fetchFromGitHub {
37 patchShebangs clipboard-adapter.sh
41 chmod +x $out/share/rofi-emoji/clipboard-adapter.sh
42 wrapProgram $out/share/rofi-emoji/clipboard-adapter.sh \
43 --prefix PATH ":" ${lib.makeBinPath ([ libnotify ]
44 ++ lib.optionals waylandSupport [ wl-clipboard wtype ]
45 ++ lib.optionals x11Support [ xclip xdotool ])}
61 ++ lib.optionals waylandSupport [ wl-clipboard wtype ]
62 ++ lib.optionals x11Support [ xclip ];
65 description = "Emoji selector plugin for Rofi (built against ${rofi-unwrapped.pname})";
66 homepage = "https://github.com/Mange/rofi-emoji";
67 license = licenses.mit;
68 maintainers = with maintainers; [ cole-h Mange ];
69 platforms = platforms.linux;