forked from mirrors/nixpkgs
38a5da7088
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Robert Schütz <rschuetz17@gmail.com> Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
27 lines
721 B
Nix
27 lines
721 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "i3-auto-layout";
|
|
version = "0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chmln";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0ps08lga6qkgc8cgf5cx2lgwlqcnd2yazphh9xd2fznnzrllfxxz";
|
|
};
|
|
|
|
cargoSha256 = "1ch5mh515rlqmr65x96xcvrx6iaigqgjxc7sbwbznzkc5kmvwhc0";
|
|
|
|
# Currently no tests are implemented, so we avoid building the package twice
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Automatic, optimal tiling for i3wm";
|
|
homepage = "https://github.com/chmln/i3-auto-layout";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mephistophiles ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|