packages: wm: Add riverguile

pull/3/head
Luis Guilherme Coelho 2024-03-25 01:11:11 -03:00
parent e16641de00
commit 9f9011d65f
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 41 additions and 0 deletions

View File

@ -3,9 +3,13 @@
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages freedesktop) #:use-module (gnu packages freedesktop)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages zig) #:use-module (gnu packages zig)
#:use-module (guix build-system zig) #:use-module (guix build-system zig)
#:use-module (guix build-system gnu)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix transformations) #:use-module (guix transformations)
@ -51,3 +55,40 @@
"A modified version of rivertile which adds: monocle layout, gaps rather "A modified version of rivertile which adds: monocle layout, gaps rather
than padding, gap size modification at run time, and smart gaps.") than padding, gap size modification at run time, and smart gaps.")
(license license:gpl3))) (license license:gpl3)))
(define-public riverguile
(package
(name "riverguile")
(version "0.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~leon_plickat/riverguile")
(commit (string-append "v" version))
(recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32 "1m14pfk1mxkijmpcs0gqlpvyp6bzc214fdn8aq0r5llg5v0wkidz"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
#~(modify-phases %standard-phases
(delete 'configure))))
(inputs
(list guile-3.0
guile-config
pkg-config
wayland))
(home-page "https://git.sr.ht/~leon_plickat/riverguile")
(synopsis "Scripting layer for the river Wayland server using Guile Scheme.")
(description "Scripting layer for the river Wayland server using Guile Scheme.
Send commands to river and install handlers for various events, including layout
demands.
The ultimate aim of riverguile is to allow comfortable scripting in the context
of desktop operations, including window management.")
(license license:gpl3)))