depot/third_party/nixpkgs/pkgs/tools/wayland/wlr-which-key/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

42 lines
815 B
Nix

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