159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
43 lines
850 B
Nix
43 lines
850 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cairo
|
|
, glib
|
|
, libxkbcommon
|
|
, pango
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "wlr-which-key";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MaxVerevkin";
|
|
repo = "wlr-which-key";
|
|
rev = "v${version}";
|
|
hash = "sha256-+LOu1iJ4ciqJMemNKV0cNpAxn857izu9j8pu+3Z0msk=";
|
|
};
|
|
|
|
cargoHash = "sha256-4aVBaKwvGSpePw64UwrqHhDYcSvM8zADrXAK5SBEfm0=";
|
|
|
|
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;
|
|
mainProgram = "wlr-which-key";
|
|
};
|
|
}
|