Subject: [bug#55051] [PATCH 3/3] gnu: cl-trivia: Update to 0.1-0.8b406c3.

From: "Paul A. Patience" <[email-masked]>
Date: Thu, 21 Apr 2022 03:08:08 +0000

* gnu/packages/lisp-xyz.scm (sbcl-trivia.trivial): Update to
  0.1-0.8b406c3. (The version listed in the .asd files was always 0.1,
  not 0.0.0.)
  [arguments]: Delete trivia.fset.asd file in 'fix-build' phase.
  (sbcl-trivia)[inputs]: Add sbcl-fset.
  [arguments]<#:asd-systems>: Add trivia.fset.
---
 gnu/packages/lisp-xyz.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index abb608702d..121c2de58b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -6218,21 +6218,21 @@ (define-public ecl-fare-quasiquote
 ;;; Split the trivia package in two to work around the circular dependency
 ;;; between guicho271828/trivia and guicho271828/type-i.
 (define-public sbcl-trivia.trivial
-  (let ((commit "7286d5d2a4f685f1cac8370816f95276c0851111")
-        (revision "3"))
+  (let ((commit "8b406c3f83521d290e97bb787d3f6c1eb3b716af")
+        (revision "0"))
     (package
       (name "sbcl-trivia.trivial")
-      (version (git-version "0.0.0" revision commit))
+      (version (git-version "0.1" revision commit))
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/guicho271828/trivia")
                (commit commit)))
-         (file-name (git-file-name "trivia" version))
+         (file-name (git-file-name "cl-trivia" version))
          (sha256
           (base32
-           "0ln0sj3jry7kzbmxhnin66kpbqan1wp8wwgdbw4k29afbdblkcca"))))
+           "0fnnjnba07qrsf82jm4q6dini7z72xabcssy5y2bqy082r07l8l7"))))
       (build-system asdf-build-system/sbcl)
       (inputs
        (list sbcl-alexandria
@@ -6249,6 +6249,7 @@ (define-public sbcl-trivia.trivial
                            "trivia.ppcre.asd"
                            "trivia.quasiquote.asd"
                            "trivia.cffi.asd"
+                           "trivia.fset.asd"
                            "trivia.asd"
                            "trivia.test.asd")))))))
       (synopsis "Pattern matching in Common Lisp")
@@ -6276,6 +6277,7 @@ (define-public sbcl-trivia
            sbcl-cffi
            sbcl-cl-ppcre
            sbcl-fare-quasiquote
+           sbcl-fset
            sbcl-iterate
            sbcl-trivia.trivial
            sbcl-type-i))
@@ -6283,7 +6285,8 @@ (define-public sbcl-trivia
      '(#:asd-systems '("trivia"
                        "trivia.ppcre"
                        "trivia.quasiquote"
-                       "trivia.cffi")
+                       "trivia.cffi"
+                       "trivia.fset")
        #:test-asd-file "trivia.test.asd"
        #:phases
        (modify-phases %standard-phases
--
2.35.1