diff --git a/pkgs/tools/wayland/wayout/default.nix b/pkgs/tools/wayland/wayout/default.nix new file mode 100644 index 000000000000..bf949cfc0549 --- /dev/null +++ b/pkgs/tools/wayland/wayout/default.nix @@ -0,0 +1,28 @@ +{ lib +, stdenv +, fetchFromSourcehut +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "wayout"; + version = "1.1.3"; + + src = fetchFromSourcehut { + owner = "~shinyzenith"; + repo = pname; + rev = version; + sha256 = "sha256-EzRetxx0NojhBlBPwhQ7p9rGXDUBlocVqxcEVGIF3+0="; + }; + + cargoSha256 = "sha256-QlxXbfeWJdCythYRRLSpJbTzKkwrL4kmAfyL3tRt194="; + + meta = with lib; { + description = "Simple output management tool for wlroots based compositors implementing"; + homepage = "https://git.sr.ht/~shinyzenith/wayout"; + license = licenses.bsd2; + maintainers = with maintainers; [ onny ]; + broken = stdenv.isDarwin; # Build failed on Darwin + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 29023f8e0158..445e64d696ac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3319,6 +3319,8 @@ with pkgs; wayland-proxy-virtwl = callPackage ../tools/wayland/wayland-proxy-virtwl { }; + wayout = callPackage ../tools/wayland/wayout { }; + way-displays = callPackage ../tools/wayland/way-displays { }; wev = callPackage ../tools/wayland/wev { };