unofficial mirror of guix-patches@gnu.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	[flat|nested] 3+ messages in thread

* bug#51628: [PATCH] gnu: Add lukesmithxyz-st.
  2021-11-06  8:56 [bug#51628] [PATCH] gnu: Add lukesmithxyz-st jgart via Guix-patches via
@ 2022-01-14 20:48 ` Nicolas Goaziou
  2022-01-14 21:30   ` [bug#51628] " jgart via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2022-01-14 20:48 UTC (permalink / raw)
  To: jgart via Guix-patches via; +Cc: jgart, 51628-done

Hello,

jgart via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/suckless.scm (lukesmithxyz-st): New variable.

I moved the package definition to the new style and applied your patch.
Thank you.

Regards,
-- 
Nicolas Goaziou




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

* [bug#51628] [PATCH] gnu: Add lukesmithxyz-st.
  2022-01-14 20:48 ` bug#51628: " Nicolas Goaziou
@ 2022-01-14 21:30   ` jgart via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-01-14 21:30 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 51628, 51628-done

On Fri, 14 Jan 2022 21:48:17 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
> 
> jgart via Guix-patches via <guix-patches@gnu.org> writes:
> 
> > * gnu/packages/suckless.scm (lukesmithxyz-st): New variable.
> 
> I moved the package definition to the new style and applied your patch.
> Thank you.
> 
> Regards,
> -- 
> Nicolas Goaziou

Thanks! 

I removed st-lukesmithxyz from guixrus:

https://git.sr.ht/~whereiseveryone/guixrus/commit/470faa7fefddc3332922a5af272730bddd6071b9

all best,

jgart

https://whereiseveryone.srht.site/
gemini://whereiseveryone.srht.site/




^ permalink raw reply	[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 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).