1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4 pname = "i3-auto-layout";
5 version = "unstable-2022-05-29";
7 src = fetchFromGitHub {
10 rev = "9e41eb3891991c35b7d35c9558e788899519a983";
11 sha256 = "sha256-gpVYVyh+2y4Tttvw1SuCf7mx/nxR330Ob2R4UmHZSJs=";
14 cargoHash = "sha256-OxQ7S+Sqc3aRH53Bs53Y+EKOYFgboGOBsQ7KJgICcGo=";
16 # Currently no tests are implemented, so we avoid building the package twice
20 description = "Automatic, optimal tiling for i3wm";
21 mainProgram = "i3-auto-layout";
22 homepage = "https://github.com/chmln/i3-auto-layout";
23 license = licenses.mit;
24 maintainers = with maintainers; [ mephistophiles perstark ];
25 platforms = platforms.linux;