Subject: bug#58996: closed (Re: [bug#58996] [PATCH] gnu: Add cl-inotify.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 05 Nov 2022 12:07:03 +0000

Your bug report

#58996: [PATCH] gnu: Add cl-inotify.

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].

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

Subject: Re: [bug#58996] [PATCH] gnu: Add cl-inotify.
From: Guillaume Le Vaillant <[email-masked]>
To: jgart <[email-masked]>
Cc: [email-masked]
Date: Sat, 05 Nov 2022 12:06:10 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch pushed as 6052fdf35079a5d7f1cf5773f62ad96160a4385c.
Thanks.

Subject: [PATCH] gnu: Add cl-inotify.
From: jgart <[email-masked]>
To: [email-masked]
Cc: jgart <[email-masked]>
Date: Thu, 3 Nov 2022 12:08:06 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/lisp-xyz.scm (cl-inotify, ecl-inotify, sbcl-inotify):
New variables.
---
 gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1880e3ef30..38b2e0070e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -452,6 +452,45 @@ (define-public cl-meta
 (define-public ecl-meta
   (sbcl-package->ecl-package sbcl-meta))
 
+(define-public sbcl-cl-inotify
+  (let ((commit "66f29e01ec28355ebba8292411b4de90eebd76a3")
+        (revision "0"))
+    (package
+     (name "sbcl-cl-inotify")
+     (version (git-version "0.0.0" revision commit))
+     (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Ferada/cl-inotify")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (modules '((guix build utils)))
+         (sha256
+          (base32 "0d3bvp5lqnddzhk1w9yyli03njbkhc8d129a058g0j49kgd47c7v"))))
+     (build-system asdf-build-system/sbcl)
+     (native-inputs (list sbcl-fiveam))
+     (inputs
+       (list libfixposix
+             sbcl-cffi
+             sbcl-binary-types
+             sbcl-trivial-utf-8
+             sbcl-osicat))
+     (arguments
+      '(#:asd-systems '("cl-inotify" "cl-inotify-tests")))
+     (synopsis "Common Lisp interface to the Linux inotify API")
+     (description
+"@code{cl-inotify} uses @code{cl-cffi} to provide Common Lisp interface
+to the Linux inotify API.")
+     (home-page "https://github.com/Ferada/cl-inotify/")
+     (license license:bsd-2))))
+
+(define-public cl-inotify
+  (sbcl-package->cl-source-package sbcl-cl-inotify))
+
+(define-public ecl-cl-inotify
+  (sbcl-package->ecl-package sbcl-cl-inotify))
+
 (define-public sbcl-bodge-queue
   (let ((commit "948c9a501dcd412689952d09eb7453ec2722336a")
         (revision "0"))
-- 
2.38.1