gnu: Add havoc.

* gnu/packages/terminals.scm (havoc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Feng Shu 2023-02-09 10:16:13 +08:00 committed by Nicolas Goaziou
parent d6ca7f05fa
commit 389da6694e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -872,6 +872,40 @@ (define-public foot
a server/client mode.")
(license license:expat)))
(define-public havoc
(package
(name "havoc")
(version "0.4.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ii8/havoc")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"052nfli8x4kvly2iwbk0w3i8gk82bz2p8i0ygkwxhy03m5187lnc"))))
(build-system gnu-build-system)
(arguments
(list
#:tests? #f ; no check target
#:make-flags #~(list (string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases
(delete 'configure) ; no configure script
(add-before 'build 'set-CC
(lambda _
(setenv "CC" #$(cc-for-target)))))))
(native-inputs
(list pkg-config wayland-protocols))
(inputs
(list libxkbcommon wayland))
(home-page "https://github.com/ii8/havoc")
(synopsis "Minimal terminal emulator for Wayland")
(description
"Havoc is a minimal terminal emulator for Wayland.")
(license license:expat)))
(define-public sakura
(package
(name "sakura")