git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #117870 from Mephistophiles/i3wm/packages

i3wm.i3-auto-layout: init at 0.2.0

commit4e5687f0e5b098f27a9ae2dee16a80dc6943c83d authorRobert Schütz <dev@schuetz-co.de> dateWed 31 Mar 2021, 15:36 (6 years ago) parent34bc54938a5da7
3 files changed+34
maintainers/maintainer-list.nix+6 pkgs/applications/window-managers/i3/auto-layout.nix+26 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -6186,6 +6186,12 @@
61866186 github = "meutraa";
61876187 githubId = 68550871;
61886188 };
6189+ mephistophiles = {
6190+ email = "mussitantesmortem@gmail.com";
6191+ name = "Maxim Zhukov";
6192+ github = "Mephistophiles";
6193+ githubId = 4850908;
6194+ };
61896195 mfossen = {
61906196 email = "msfossen@gmail.com";
61916197 github = "mfossen";
pkgs/applications/window-managers/i3/auto-layout.nixnew file+26
@@ -0,0 +1,26 @@
1+{ lib, rustPlatform, fetchFromGitHub }:
2+
3+rustPlatform.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 = "1ch5mh515rlqmr65x96xcvrx6iaigqgjxc7sbwbznzkc5kmvwhc0";
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+}
pkgs/top-level/all-packages.nix+2
@@ -23364,6 +23364,8 @@ in
2336423364 xcb-util-cursor = if stdenv.isDarwin then xcb-util-cursor-HEAD else xcb-util-cursor;
2336523365 };
2336623366
23367+ i3-auto-layout = callPackage ../applications/window-managers/i3/auto-layout.nix { };
23368+
2336723369 i3-gaps = callPackage ../applications/window-managers/i3/gaps.nix { };
2336823370
2336923371 i3altlayout = callPackage ../applications/window-managers/i3/altlayout.nix { };