about summary refs log tree commit diff
path: root/pkgs/tools/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r--pkgs/tools/wayland/wayout/default.nix28
1 files changed, 28 insertions, 0 deletions
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
+  };
+
+}