rofi-wayland: init at 1.7.2+wayland1

This commit is contained in:
Benoit de Chezelles 2021-12-11 02:18:42 +01:00
parent 395879c283
commit 48d21642e5
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv
, lib
, fetchFromGitHub
, rofi-unwrapped
, wayland-protocols
, wayland
}:
rofi-unwrapped.overrideAttrs (oldAttrs: rec {
pname = "rofi-wayland-unwrapped";
version = "1.7.2+wayland1";
src = fetchFromGitHub {
owner = "lbonn";
repo = "rofi";
rev = version;
fetchSubmodules = true;
sha256 = "sha256-INFYHOVjBNj8ks4UjKnxLW8mL7h1c8ySFPS/rUxOWwo=";
};
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;
};
})

View File

@ -28194,6 +28194,10 @@ with pkgs;
rofi-unwrapped = callPackage ../applications/misc/rofi { };
rofi = callPackage ../applications/misc/rofi/wrapper.nix { };
rofi-wayland-unwrapped = callPackage ../applications/misc/rofi/wayland.nix { };
rofi-wayland = callPackage ../applications/misc/rofi/wrapper.nix {
rofi-unwrapped = rofi-wayland-unwrapped;
};
rofi-pass = callPackage ../tools/security/pass/rofi-pass.nix { };