2022-01-19 23:45:15 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rofi-unwrapped
|
|
|
|
, wayland-protocols
|
|
|
|
, wayland
|
|
|
|
}:
|
|
|
|
|
|
|
|
rofi-unwrapped.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "rofi-wayland-unwrapped";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "1.7.5+wayland1";
|
2022-01-19 23:45:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lbonn";
|
|
|
|
repo = "rofi";
|
|
|
|
rev = version;
|
|
|
|
fetchSubmodules = true;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-ddKLV7NvqgTQl5YlAEyBK0oalcJsLASK4z3qArQPUDQ=";
|
2022-01-19 23:45:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ wayland-protocols ];
|
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ wayland ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Window switcher, run dialog and dmenu replacement for Wayland";
|
|
|
|
homepage = "https://github.com/lbonn/rofi";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bew ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
})
|