unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57719] [PATCH] gnu: Add cl-draw-cons-tree.
@ 2022-09-10 17:45 jgart via Guix-patches via
  2022-09-10 17:47 ` [bug#57719] [PATCH v2] " jgart via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2022-09-10 17:45 UTC (permalink / raw)
  To: 57719; +Cc: jgart

* gnu/packages/lisp-xyz.scm (cl-draw-cons-tree): New variable.
---
 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..8ceaf990d2 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-trash/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/cbaggers/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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#57719] [PATCH v2] gnu: Add cl-draw-cons-tree.
  2022-09-10 17:45 [bug#57719] [PATCH] gnu: Add cl-draw-cons-tree jgart via Guix-patches via
@ 2022-09-10 17:47 ` jgart via Guix-patches via
  2022-09-10 17:50 ` [bug#57719] [PATCH v3] " jgart via Guix-patches via
  2022-09-10 18:00 ` [bug#57719] [PATCH v4] " jgart via Guix-patches via
  2 siblings, 0 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2022-09-10 17:47 UTC (permalink / raw)
  To: 57719; +Cc: jgart

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#57719] [PATCH v3] gnu: Add cl-draw-cons-tree.
  2022-09-10 17:45 [bug#57719] [PATCH] gnu: Add cl-draw-cons-tree jgart via Guix-patches via
  2022-09-10 17:47 ` [bug#57719] [PATCH v2] " jgart via Guix-patches via
@ 2022-09-10 17:50 ` jgart via Guix-patches via
  2022-09-10 18:00 ` [bug#57719] [PATCH v4] " jgart via Guix-patches via
  2 siblings, 0 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2022-09-10 17:50 UTC (permalink / raw)
  To: 57719; +Cc: jgart

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

There's a version number on this package in:

https://github.com/phoe/draw-cons-tree/commit/04334f5885a85cd7127db8dda3f6d6686a0438b1

Here's v3
---
 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..f8136ff393 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 "1.0" 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#57719] [PATCH v4] gnu: Add cl-draw-cons-tree.
  2022-09-10 17:45 [bug#57719] [PATCH] gnu: Add cl-draw-cons-tree jgart via Guix-patches via
  2022-09-10 17:47 ` [bug#57719] [PATCH v2] " jgart via Guix-patches via
  2022-09-10 17:50 ` [bug#57719] [PATCH v3] " jgart via Guix-patches via
@ 2022-09-10 18:00 ` jgart via Guix-patches via
  2022-09-11 11:28   ` bug#57719: " Guillaume Le Vaillant
  2 siblings, 1 reply; 5+ messages in thread
From: jgart via Guix-patches via @ 2022-09-10 18:00 UTC (permalink / raw)
  To: 57719; +Cc: jgart

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

Tests were disabled ;()

I enabled them now.

Thanks!

all best,

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 606aa06300..dc5ceb9ee0 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23901,6 +23901,40 @@ (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 "1.0" 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)
+     (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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#57719: [PATCH v4] gnu: Add cl-draw-cons-tree.
  2022-09-10 18:00 ` [bug#57719] [PATCH v4] " jgart via Guix-patches via
@ 2022-09-11 11:28   ` Guillaume Le Vaillant
  0 siblings, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2022-09-11 11:28 UTC (permalink / raw)
  To: jgart; +Cc: 57719-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as 1da91705b0b01b9578353777567e6058242ebb5b.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-11 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-10 17:45 [bug#57719] [PATCH] gnu: Add cl-draw-cons-tree jgart via Guix-patches via
2022-09-10 17:47 ` [bug#57719] [PATCH v2] " jgart via Guix-patches via
2022-09-10 17:50 ` [bug#57719] [PATCH v3] " jgart via Guix-patches via
2022-09-10 18:00 ` [bug#57719] [PATCH v4] " jgart via Guix-patches via
2022-09-11 11:28   ` bug#57719: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).