nixpkgs/pkgs/applications/misc/rofi/wayland.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
819 B
Nix
Raw Normal View History

2021-12-11 01:18:42 +00:00
{ stdenv
, lib
, fetchFromGitHub
, rofi-unwrapped
2023-04-23 13:39:45 +00:00
, wayland-scanner
2021-12-11 01:18:42 +00:00
, wayland-protocols
, wayland
}:
rofi-unwrapped.overrideAttrs (oldAttrs: rec {
pname = "rofi-wayland-unwrapped";
version = "1.7.5+wayland2";
2021-12-11 01:18:42 +00:00
src = fetchFromGitHub {
owner = "lbonn";
repo = "rofi";
rev = version;
fetchSubmodules = true;
sha256 = "sha256-5pxDA/71PV4B5T3fzLKVC4U8Gt13vwy3xSDPDsSDAKU=";
2021-12-11 01:18:42 +00:00
};
2023-04-23 13:39:45 +00:00
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ wayland-scanner ];
buildInputs = oldAttrs.buildInputs ++ [ wayland wayland-protocols ];
2021-12-11 01:18:42 +00:00
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;
};
})