guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: Add river.


From: guix-commits
Subject: 04/05: gnu: Add river.
Date: Fri, 20 Oct 2023 18:29:44 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit c942f4dcaba8f44d9f89540c22825e935c5acfd1
Author: Felix Lechner <felix.lechner@lease-up.com>
AuthorDate: Wed Jun 21 07:33:37 2023 -0700

    gnu: Add river.
    
    * gnu/packages/zig-xyz.scm (river): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/zig-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 44 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index f85fde343e..200b5c9940 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2022 Maya Tomasek <maya.tomasek@disroot.org>
 ;;; Copyright © 2023 Ekaitz Zarraga <ekaitz@elenq.tech>
+;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,8 +26,49 @@
   #:use-module (guix build-system zig)
   #:use-module (guix gexp)
   #:use-module (gnu packages)
-  #:use-module (gnu packages zig)
-  #:use-module (gnu packages python))
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages man)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages wm)
+  #:use-module (gnu packages xdisorg)
+  #:use-module (gnu packages xorg)
+  #:use-module (gnu packages zig))
+
+(define-public river
+  (package
+    (name "river")
+    (version "0.2.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/riverwm/river";)
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1nvhqs6wwisf8ama7y1y3q3nf2jm9sh5bn46z8kyds8cikm0x1vh"))))
+    (build-system zig-build-system)
+    (arguments
+     (list
+      #:zig-build-flags #~(list "-Dxwayland")   ;experimental xwayland support
+      #:zig-release-type "safe"))
+    (native-inputs (list libevdev
+                         libxkbcommon
+                         pkg-config
+                         pixman
+                         scdoc
+                         wayland
+                         wayland-protocols
+                         wlroots))
+    (home-page "https://github.com/riverwm/river";)
+    (synopsis "Dynamic tiling Wayland compositor")
+    (description
+     "River is a dynamic tiling Wayland compositor with flexible
+runtime configuration.  It can run nested in an X11/Wayland session or also
+directly from a tty using KMS/DRM.")
+    (license license:gpl3)))
 
 (define-public tigerbeetle
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]