lol
1{ lib, rustPlatform, fetchFromGitHub }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "i3-auto-layout";
5 version = "0.2";
6
7 src = fetchFromGitHub {
8 owner = "chmln";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "0ps08lga6qkgc8cgf5cx2lgwlqcnd2yazphh9xd2fznnzrllfxxz";
12 };
13
14 cargoSha256 = "1i01kqvsykanzs7pi94gab9k2dqg1ki40mmjrwa22n0ypkbnvsmx";
15
16 # Currently no tests are implemented, so we avoid building the package twice
17 doCheck = false;
18
19 meta = with lib; {
20 description = "Automatic, optimal tiling for i3wm";
21 homepage = "https://github.com/chmln/i3-auto-layout";
22 license = licenses.mit;
23 maintainers = with maintainers; [ mephistophiles ];
24 platforms = platforms.linux;
25 };
26}