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

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

32 lines
785 B
Nix
Raw Normal View History

2021-12-11 02:18:42 +01:00
{ stdenv
, lib
, fetchFromGitHub
, rofi-unwrapped
, wayland-protocols
, wayland
}:
rofi-unwrapped.overrideAttrs (oldAttrs: rec {
pname = "rofi-wayland-unwrapped";
version = "1.7.3+wayland1";
2021-12-11 02:18:42 +01:00
src = fetchFromGitHub {
owner = "lbonn";
repo = "rofi";
rev = version;
fetchSubmodules = true;
sha256 = "sha256-qvIxWxiQj42VgScSsrF1Yf6ifgEbZes0flNbbwc3O8I=";
2021-12-11 02:18:42 +01: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;
};
})