all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51628] [PATCH] gnu: Add lukesmithxyz-st.
@ 2021-11-06  8:56 jgart via Guix-patches via
  2022-01-14 20:48 ` bug#51628: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2021-11-06  8:56 UTC (permalink / raw)
  To: 51628; +Cc: jgart

* gnu/packages/suckless.scm (lukesmithxyz-st): New variable.
---
 gnu/packages/suckless.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 0755700835..f055163478 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -35,6 +35,7 @@ (define-module (gnu packages suckless)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libbsd)
   #:use-module (gnu packages linux)
@@ -441,6 +442,42 @@ (define-public xst
 @end itemize")
       (license license:expat)))
 
+(define-public lukesmithxyz-st
+  (let ((revision "0")
+        (commit "e053bd6036331cc7d14f155614aebc20f5371d3a"))
+    (package
+      (inherit st)
+      (name "lukesmithxyz-st")
+      (version "0.8.4")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+              (url "https://github.com/LukeSmithxyz/st")
+              (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "12avzzapkkj4mvd00zh8b6gynk6jysh84jcwlkliyyd82lvyw22v"))))
+      (arguments
+        (substitute-keyword-arguments (package-arguments st)
+         ((#:phases phases)
+          `(modify-phases ,phases
+            (add-after 'unpack 'remove-calls-to-git
+              (lambda _
+                (substitute* "Makefile"
+                  (("git submodule init") "")
+                  (("git submodule update") ""))))))))
+      (inputs
+       `(("libxext" ,libxext)
+         ("harfbuzz" ,harfbuzz)
+         ,@(package-inputs st)))
+      (home-page "https://github.com/LukeSmithxyz/st")
+      (synopsis "Luke Smith's fork of st")
+      (description
+"Luke's fork of the suckless simple terminal @command{st} with @command{vim}
+bindings and Xresource compatibility.")
+      (license license:expat))))
+
 (define-public surf
   (package
     (name "surf")
-- 
2.33.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-14 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06  8:56 [bug#51628] [PATCH] gnu: Add lukesmithxyz-st jgart via Guix-patches via
2022-01-14 20:48 ` bug#51628: " Nicolas Goaziou
2022-01-14 21:30   ` [bug#51628] " jgart via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.