Merge pull request #242456 from xlambein/xlambein/wlr-which-key
wlr-which-key: init at 0.1.0
This commit is contained in:
commit
311a416657
2 changed files with 44 additions and 0 deletions
42
pkgs/tools/wayland/wlr-which-key/default.nix
Normal file
42
pkgs/tools/wayland/wlr-which-key/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, cairo
|
||||
, glib
|
||||
, libxkbcommon
|
||||
, pango
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wlr-which-key";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MaxVerevkin";
|
||||
repo = "wlr-which-key";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-GLTbUa5EfpJV7OACTlewAgGjd5Ub0fYHoW8f+EVrT14=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-TtA4Ley5bwymF8Yiqso5fGAwGsT0GRlfAlGS5j4s0Qw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cairo
|
||||
glib
|
||||
libxkbcommon
|
||||
pango
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Keymap manager for wlroots-based compositors";
|
||||
homepage = "https://github.com/MaxVerevkin/wlr-which-key";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ xlambein ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -4628,6 +4628,8 @@ with pkgs;
|
|||
|
||||
wlr-randr = callPackage ../tools/wayland/wlr-randr { };
|
||||
|
||||
wlr-which-key = callPackage ../tools/wayland/wlr-which-key { };
|
||||
|
||||
wlrctl = callPackage ../tools/wayland/wlrctl { };
|
||||
|
||||
wlsunset = callPackage ../tools/wayland/wlsunset { };
|
||||
|
|
Loading…
Reference in a new issue