1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage {
8 pname = "i3-cycle-focus";
9 version = "unstable-2021-09-27";
10
11 src = fetchFromGitHub {
12 owner = "TheDoctor314";
13 repo = "i3-cycle-focus";
14 rev = "d94f22e4b8502de4ed846a211fa0c8418b3e3e89";
15 hash = "sha256-caZKvxOqoYgPs+Zjltj8K0/ospjkLnA4kh0rsTjeU3Y=";
16 };
17
18 cargoHash = "sha256-6d3a9iaXKakbs7g/649nO39bh4Ka8jcBI/yJImTqoZs=";
19
20 meta = with lib; {
21 description = "Simple tool to cyclically switch between the windows on the active workspace";
22 mainProgram = "i3-cycle-focus";
23 homepage = "https://github.com/TheDoctor314/i3-cycle-focus";
24 license = licenses.unlicense;
25 maintainers = with maintainers; [ GaetanLepage ];
26 platforms = platforms.linux;
27 };
28}