1 { lib, fetchFromGitHub, rustPlatform
2 , xorg, python3, pkg-config, cairo, expat, libxkbcommon }:
4 rustPlatform.buildRustPackage rec {
8 src = fetchFromGitHub {
12 sha256 = "sha256-zXqPZORwi7X1wBTecPg9nOCvRHWNTtloCpgbPwtFhzo=";
15 cargoHash = "sha256-4eoV/viI7Q7I7mIqcHVAyPf/y2RWaWX0B+mLZWMEbcI=";
17 nativeBuildInputs = [ python3 pkg-config ];
18 buildInputs = [ cairo expat libxkbcommon xorg.xcbutilkeysyms ];
20 # For now, this is the only available featureset. This is also why the file is
21 # in the i3 folder, even though it might be useful for more than just i3
23 buildFeatures = [ "i3" ];
26 description = "Visually focus windows by label";
27 homepage = "https://github.com/svenstaro/wmfocus";
28 license = licenses.mit;
29 maintainers = with maintainers; [ synthetica ];
30 platforms = platforms.linux;