1 { fetchFromGitHub, lib, nix-update-script, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
4 pname = "sway-overfocus";
7 src = fetchFromGitHub {
11 hash = "sha256-KHbYlxgrrZdNKJ7R9iVflbbP1c6qohM/NHBSYuzxEt4=";
14 cargoHash = "sha256-zp6PSu8P+ZUhrqi5Vxpe+z9zBaSkdVQBMGNP0FVOviQ=";
16 # Crate without tests.
19 passthru.updateScript = nix-update-script { };
22 description = ''"Better" focus navigation for sway and i3.'';
23 homepage = "https://github.com/korreman/sway-overfocus";
24 changelog = "https://github.com/korreman/sway-overfocus/releases/tag/${src.rev}";
25 license = licenses.mit;
26 maintainers = [ maintainers.ivan770 ];
27 mainProgram = "sway-overfocus";