gnu: Add lukesmithxyz-st.

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

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
jgart 2022-01-14 21:47:42 +01:00 committed by Nicolas Goaziou
parent 36f4745dc1
commit 5d9d1d9a7d
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -36,6 +36,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)
@ -424,6 +425,40 @@ (define-public xst
@end itemize")
(license license:expat)))
(define-public lukesmithxyz-st
(let ((commit "e053bd6036331cc7d14f155614aebc20f5371d3a")
(revision "0"))
(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 (modify-inputs (package-inputs st)
(prepend libxext harfbuzz)))
(home-page "https://github.com/LukeSmithxyz/st")
(synopsis "Luke Smith's fork of st")
(description
"This package is Luke's fork of the suckless simple terminal (st) with
Vim bindings and Xresource compatibility.")
(license license:expat))))
(define-public surf
(package
(name "surf")