Merge pull request #242456 from xlambein/xlambein/wlr-which-key

wlr-which-key: init at 0.1.0
This commit is contained in:
Emily 2023-07-23 22:41:11 +02:00 committed by GitHub
commit 311a416657
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View 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;
};
}

View file

@ -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 { };