Subject: bug#52096: closed (Re: [bug#52096] [PATCH] gnu: Add litterbox.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 05 Dec 2021 20:38:02 +0000

Your bug report

#52096: [PATCH] gnu: Add litterbox.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
52096: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52096
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#52096] [PATCH] gnu: Add litterbox.
From: Nicolas Goaziou <[email-masked]>
To: jgart via Guix-patches via <[email-masked]>
Cc: jgart <[email-masked]>, [email-masked]
Date: Sun, 05 Dec 2021 21:37:01 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

jgart via Guix-patches via <[email-masked]> writes:

> * gnu/packages/irc.scm (litterbox): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add litterbox.
From: jgart <[email-masked]>
To: [email-masked]
Cc: jgart <[email-masked]>
Date: Thu, 25 Nov 2021 04:52:01 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guixers!

litterbox is a TLS-only IRC logger. It logs events from IRC in a
SQLite database, indexing messages for full-text search. It is intended
for use with the IRC bouncer pounce, but can also be used independently
as a logging bot.

https://git.causal.agency/litterbox/about/

* gnu/packages/irc.scm (litterbox): New variable.
---
 gnu/packages/irc.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 2817624437..840c27f5c5 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -571,6 +571,39 @@ (define-public epic5
                    ;; distribute binaries.
                    (license:non-copyleft "http://epicsol.org/copyright")))))
 
+(define-public litterbox
+  (package
+    (name "litterbox")
+    (version "1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://git.causal.agency/litterbox/snapshot/litterbox-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "0ll5d18slngdg2qhaxkvrcq2p1admh0h7sr06wx8347ka0vvrgjl"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; There are no tests.
+       #:make-flags
+       (list
+        (string-append "CC=" ,(cc-for-target))
+        (string-append "PREFIX=" %output))))
+    (native-inputs
+      `(("pkg-config" ,pkg-config)
+        ("universal-ctags" ,universal-ctags)))
+    (inputs
+      `(("libressl" ,libressl)
+        ("sqlite" ,sqlite)))
+    (home-page "https://code.causal.agency/june/litterbox")
+    (synopsis "TLS-only IRC logger")
+    (description
+"@command{litterbox} is a TLS-only IRC logger.  It logs
+events from IRC in a SQLite database, indexing messages for full-text
+search.  It is intended for use with the IRC bouncer @command{pounce},
+but can also be used independently as a logging bot.")
+    (license license:gpl3+)))
+
 (define-public inspircd
   (package
     (name "inspircd")
-- 
2.34.0