From 389da6694e75374871ba1b25cfbb21cfbf453e3f Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Thu, 9 Feb 2023 10:16:13 +0800 Subject: [PATCH] gnu: Add havoc. * gnu/packages/terminals.scm (havoc): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/terminals.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 02401b712d..cca3210bec 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -872,6 +872,40 @@ desktop environments. It can be used as a standalone terminal and also has 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")