base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / wl / wlr-which-key / package.nix
blob4bb349e3c30138216beaf0daaef0aaef7c00e881
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , cairo
6 , glib
7 , libxkbcommon
8 , pango
9 }:
11 rustPlatform.buildRustPackage rec {
12   pname = "wlr-which-key";
13   version = "1.0.1";
15   src = fetchFromGitHub {
16     owner = "MaxVerevkin";
17     repo = "wlr-which-key";
18     rev = "v${version}";
19     hash = "sha256-+LOu1iJ4ciqJMemNKV0cNpAxn857izu9j8pu+3Z0msk=";
20   };
22   cargoHash = "sha256-4aVBaKwvGSpePw64UwrqHhDYcSvM8zADrXAK5SBEfm0=";
24   nativeBuildInputs = [
25     pkg-config
26   ];
28   buildInputs = [
29     cairo
30     glib
31     libxkbcommon
32     pango
33   ];
35   meta = with lib; {
36     description = "Keymap manager for wlroots-based compositors";
37     homepage = "https://github.com/MaxVerevkin/wlr-which-key";
38     license = licenses.gpl3Only;
39     maintainers = with maintainers; [ xlambein ];
40     platforms = platforms.linux;
41     mainProgram = "wlr-which-key";
42   };