unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Thomas Albers Raviola via Guix-patches via <guix-patches@gnu.org>
To: 73749@debbugs.gnu.org
Cc: Thomas Albers Raviola <thomas@thomaslabs.org>
Subject: [bug#73749] [PATCH] gnu: Add wtw
Date: Fri, 11 Oct 2024 19:58:22 +0200	[thread overview]
Message-ID: <20241011175908.16443-1-thomas@thomaslabs.org> (raw)

* gnu/packages/xdisorg.scm (wtw): New variable

Change-Id: Idcb580debda0d26b9e8ee6ec53d6f905415037ba
---
 gnu/packages/xdisorg.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 21681119f1..5baaec3dc7 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -65,6 +65,7 @@
 ;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
 ;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
 ;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
+;;; Copyright © 2024 Thomas Albers Raviola <thomas@thomaslabs.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3959,3 +3960,36 @@ (define-public xxkb
 accepts events from XKB.  That means that it will work with the existing
 setup of your X Server without any modifications.")
     (license license:artistic2.0)))
+
+(define-public wtw
+  (let ((commit "a92feab7bb8e354a9136da82c9b716ffd7cdf08b")
+        (revision "0"))
+    (package
+      (name "wtw")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://codeberg.org/sewn/wtw.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0ni06zbrcp7pqidqfa5fr8dzkd84plf8s9y696g2rdmj8fdgynfj"))))
+      (build-system gnu-build-system)
+      (arguments
+       (list #:tests? #f
+             #:make-flags
+             #~(list
+                (string-append "CC=" #$(cc-for-target))
+                (string-append "PREFIX=" %output))
+             #:phases
+             #~(modify-phases %standard-phases
+                 (delete 'configure))))
+      (inputs (list fcft pixman wayland wayland-protocols))
+      (native-inputs (list pkg-config))
+      (synopsis "Simple text widget for wlroot compositors")
+      (description "Simple text widget for wlroot compositors; ported from stw
+and inheriting it's behavior.")
+      (home-page "https://codeberg.org/sewn/wtw")
+      (license license:expat))))
-- 
2.46.0





                 reply	other threads:[~2024-10-11 18:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241011175908.16443-1-thomas@thomaslabs.org \
    --to=guix-patches@gnu.org \
    --cc=73749@debbugs.gnu.org \
    --cc=thomas@thomaslabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).