gnu: Add river.

* gnu/packages/zig-xyz.scm (river): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Felix Lechner 2023-06-21 07:33:37 -07:00 committed by Ludovic Courtès
parent fb35aba108
commit c942f4dcab
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 44 additions and 2 deletions

View File

@ -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