From 17c3bc1955561411534fd3ce3a00b490ad166cc2 Mon Sep 17 00:00:00 2001 From: jgart Date: Sun, 6 Feb 2022 21:27:53 -0500 Subject: gnu: Add jj. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/messaging.scm (jj): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/messaging.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 3402a63acc..1d0c36cf23 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3133,6 +3133,41 @@ API. Mattermost is not required.") (home-page "https://github.com/42wim/matterbridge") (license license:asl2.0))) +(define-public jj + (package + (name "jj") + (version "2") + (source (origin + (method url-fetch) + (uri (string-append "https://23.fi/jj/jj-" version ".tar.gz")) + (sha256 + (base32 + "02xz2ci93bccvil5iff804mh3zr5iqkf6zx5mxgraz17xg0azlgh")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;There are no tests. + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "jj" bin))))))) + (native-inputs (list pkg-config)) + (inputs (list glib loudmouth)) + (home-page "https://23.fi/jj/") + (synopsis "FIFO based Jabber client") + (description + "jj is a simple file-system-based Jabber client, inspired by ii IRC +client. Interaction with jj is done by writing and reading files from the +server directory which jj creates. It is perfect for bots and +notifications.") + (license license:expat))) + (define-public pounce (package (name "pounce") -- cgit v1.2.3