{ pkgs ? import <nixpkgs> {} }:
with pkgs;
stdenv.mkDerivation {
  pname = "rofi";
  version = "1.7.5-unstable";
  src = ./.;
  nativeBuildInputs = [
    meson
    ninja
    pkg-config
    flex
    bison
    wayland-scanner
  ];

  buildInputs = [
    libxkbcommon
    pango
    cairo
    git
    librsvg
    check
    libstartup_notification
    xorg.libxcb
    xorg.xcbutil
    xorg.xcbutilwm
    xcbutilxrm
    xcb-util-cursor
    which
    wayland
    wayland-protocols
  ];
}
