Subject: [PATCH v2 02/12] gnu: Add cl-syslog

From: Michal Atlas <[email-masked]>
Date: Fri, 24 Nov 2023 17:05:53 +0000

* gnu/packages/lisp-xyz.scm (sbcl-cl-syslog, ecl-cl-syslog, cl-syslog): New variables.

Change-Id: I152ce685bc65f412d8e7912e3520e264d9801da0
---
 gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 912a8c6df0..7795a60d32 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20464,6 +20464,39 @@ (define-public ecl-interface
 (define-public cl-interface
   (sbcl-package->cl-source-package sbcl-interface))
 
+(define-public sbcl-cl-syslog
+  (let ((commit "d5d46f777f0735938e6f650cf17d814b88b70305")
+        (revision "0"))
+    (package
+      (name "sbcl-cl-syslog")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mmaul/cl-syslog")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1qcz55jiqwk91b01hsahxnha884f6zf2883j2m51sqph0mvj69mh"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-alexandria sbcl-cffi sbcl-global-vars sbcl-usocket
+                    sbcl-local-time))
+      (arguments
+       (list
+        #:tests? #f))
+      (synopsis "Common Lisp interface to local and remote Syslog facilities")
+      (description "cl-syslog is a Common Lisp library that provides access
+to the syslog logging facility under Unix")
+      (home-page "https://cl-syslog.common-lisp.dev/")
+      (license license:bsd-3))))
+
+(define-public ecl-cl-syslog
+  (sbcl-package->ecl-package sbcl-cl-syslog))
+
+(define-public cl-syslog
+  (sbcl-package->cl-source-package sbcl-cl-syslog))
+
 (define-public sbcl-messagebox
   (let ((commit "ea3688d9a9954bee7079c0173bc7b3f327021e9f")
         (revision "1"))
-- 
2.41.0