Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
860 B
Nix
45 lines
860 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
cairo,
|
|
glib,
|
|
libxkbcommon,
|
|
pango,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "wlr-which-key";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MaxVerevkin";
|
|
repo = "wlr-which-key";
|
|
rev = "v${version}";
|
|
hash = "sha256-2dVTN5aaXeGBUKhsuUyDfELyL4AcKoaPXD0gN7ydL/Y=";
|
|
};
|
|
|
|
cargoHash = "sha256-v+4/lD00rjJvrQ2NQqFusZc0zQbM9mBG5T9bNioNGKQ=";
|
|
|
|
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";
|
|
};
|
|
}
|