8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 hash = "sha256-xGfX7ttWrcIVhy+MkR5RZr2DCAwIKwGu7zkafHcrjaE=";
19 # The tool needs a nightly compiler.
22 cargoHash = "sha256-Ot8f/58bAlpDSB11l14paCx2yjVoAYaHVIXaOzT1z/c=";
24 passthru.tests.version = testers.testVersion { package = i3-back; };
27 description = "i3/Sway utility to switch focus to your last focused window";
28 homepage = "https://github.com/Cretezy/i3-back";
29 changelog = "https://github.com/Cretezy/i3-back/blob/main/CHANGELOG.md";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ gabyx ];
32 platforms = lib.platforms.linux;
33 mainProgram = "i3-back";