Subject: [bug#60178] [PATCH] gnu: cl-tripod: Update to 0.0.1-1.b019a27.

From: "Paul A. Patience" <[email-masked]>
Date: Sun, 18 Dec 2022 13:53:42 +0000

* gnu/packages/lisp-xyz.scm (sbcl-tripod): Update to 0.0.1-1.b019a27.
[outputs, arguments]: New fields.
[inputs]: Add sbcl-local-time, sbcl-nactivitypub and sbcl-njson, and
reindent.
---
 gnu/packages/lisp-xyz.scm | 36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c0a5436958..9f72c3dbdb 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -760,8 +760,8 @@ (define-public ecl-cl-irc
   (sbcl-package->ecl-package sbcl-cl-irc))

 (define-public sbcl-tripod
-  (let ((commit "bcea16610b4961a927e417e4413fffe686d71c83")
-        (revision "0"))
+  (let ((commit "b019a27cd7eb895870f84b0eb6c3edc5d7b05928")
+        (revision "1"))
     (package
       (name "sbcl-tripod")
       (version (git-version "0.0.1" revision commit))
@@ -773,17 +773,30 @@ (define-public sbcl-tripod
                (commit commit)))
          (file-name (git-file-name "cl-tripod" version))
          (sha256
-          (base32 "07czbwzfqg8n1q4dsfmrdp2zmp90xgsg8q26hkrniyvkylq4nn1z"))))
+          (base32 "0y8sns6njq9x7km58vpj7gx4cia9zkcpng3d38300xk0nnk2kz8w"))))
       (build-system asdf-build-system/sbcl)
+      (outputs '("out" "bin"))
+      (arguments
+       (list #:phases
+             #~(modify-phases %standard-phases
+                 (add-after 'create-asdf-configuration 'build-program
+                   (lambda* (#:key outputs #:allow-other-keys)
+                     (build-program (string-append #$output:bin "/bin/tripod")
+                                    outputs
+                                    #:entry-program '((tripod:entry-point))
+                                    #:compress? #t))))))
       (inputs
-        (list sbcl-alexandria
-              sbcl-cl-gopher
-              sbcl-cl-markdown
-              sbcl-clss
-              sbcl-hunchentoot
-              sbcl-phos
-              sbcl-plump
-              sbcl-trivial-mimes))
+       (list sbcl-alexandria
+             sbcl-cl-gopher
+             sbcl-cl-markdown
+             sbcl-clss
+             sbcl-hunchentoot
+             sbcl-local-time
+             sbcl-nactivitypub
+             sbcl-njson
+             sbcl-phos
+             sbcl-plump
+             sbcl-trivial-mimes))
       (home-page "https://aartaka.me/blog/tripod")
       (synopsis "Common Lisp web server aiming to ease website hosting")
       (description
@@ -797,7 +810,6 @@ (define-public cl-tripod
 (define-public ecl-tripod
   (sbcl-package->ecl-package sbcl-tripod))

-
 (define-public sbcl-trivial-timeout
   (let ((commit "feb869357f40f5e109570fb40abad215fb370c6c")
         (revision "1"))
--
2.38.1