unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 51628@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#51628] [PATCH] gnu: Add lukesmithxyz-st.
Date: Sat,  6 Nov 2021 04:56:15 -0400	[thread overview]
Message-ID: <20211106085615.5497-1-jgart@dismail.de> (raw)

* 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





             reply	other threads:[~2021-11-06  8:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-06  8:56 jgart via Guix-patches via [this message]
2022-01-14 20:48 ` bug#51628: [PATCH] gnu: Add lukesmithxyz-st Nicolas Goaziou
2022-01-14 21:30   ` [bug#51628] " jgart via Guix-patches via

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=20211106085615.5497-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=51628@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /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).