Subject: [PATCH v2] gnu: Add cl-draw-cons-tree.

From: jgart <[email-masked]>
Date: Sat, 10 Sep 2022 12:47:54 -0500

* gnu/packages/lisp-xyz.scm (cl-draw-cons-tree): New variable.

Updated the uri to the new fork home page.

all best,

jgart
---
 gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 606aa06300..c69f67b6d5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23901,6 +23901,43 @@ (define-public cl-definitions-systems
 (define-public ecl-definitions-systems
   (sbcl-package->ecl-package sbcl-definitions-systems))
 
+(define-public sbcl-draw-cons-tree
+  (let ((commit "04334f5885a85cd7127db8dda3f6d6686a0438b1")
+        (revision "0"))
+    (package
+     (name "sbcl-draw-cons-tree")
+     (version (git-version "20220205" revision commit))
+     ;; https://github.com/quicklisp/quicklisp-projects/issues/2149
+     (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/phoe/draw-cons-tree")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1523bdkq8a5qn0qp9q7r16w47y6jb0hkfj7hbjfj6mg3xv001s3x"))))
+     (build-system asdf-build-system/sbcl)
+     (arguments
+      `(#:tests? #f ; There are no tests.
+        #:asd-systems '("draw-cons-tree" "draw-cons-tree/test")))
+     (native-inputs
+       (list sbcl-split-sequence
+             sbcl-fiveam))
+     (inputs
+       (list sbcl-alexandria))
+     (synopsis "Draws an ascii picture of a cons tree")
+     (description
+"@code{cl-draw-cons-tree} draws a cons tree in ASCII-art style.")
+     (home-page "https://github.com/phoe/draw-cons-tree/")
+     (license license:unlicense))))
+
+(define-public cl-draw-cons-tree
+  (sbcl-package->cl-source-package sbcl-draw-cons-tree))
+
+(define-public ecl-draw-cons-tree
+  (sbcl-package->ecl-package sbcl-draw-cons-tree))
+
 (define-public sbcl-smug
   (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79")
         (revision "0"))
-- 
2.37.3