all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59500] [PATCH 0/3] gnu: Add cl-tar.
@ 2022-11-23  3:25 Paul A. Patience
  2022-11-23  3:26 ` [bug#59500] [PATCH 1/3] gnu: Add cl-40ants-doc Paul A. Patience
  2022-11-24  9:20 ` bug#59500: [PATCH 0/3] " Guillaume Le Vaillant
  0 siblings, 2 replies; 5+ messages in thread
From: Paul A. Patience @ 2022-11-23  3:25 UTC (permalink / raw)
  To: 59500; +Cc: Paul A. Patience

Paul A. Patience (3):
  gnu: Add cl-40ants-doc.
  gnu: Add cl-tar-file.
  gnu: Add cl-tar.

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

--
2.38.0






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

* [bug#59500] [PATCH 1/3] gnu: Add cl-40ants-doc.
  2022-11-23  3:25 [bug#59500] [PATCH 0/3] gnu: Add cl-tar Paul A. Patience
@ 2022-11-23  3:26 ` Paul A. Patience
  2022-11-23  3:27   ` [bug#59500] [PATCH 2/3] gnu: Add cl-tar-file Paul A. Patience
  2022-11-23  3:27   ` [bug#59500] [PATCH 3/3] gnu: Add cl-tar Paul A. Patience
  2022-11-24  9:20 ` bug#59500: [PATCH 0/3] " Guillaume Le Vaillant
  1 sibling, 2 replies; 5+ messages in thread
From: Paul A. Patience @ 2022-11-23  3:26 UTC (permalink / raw)
  To: 59500; +Cc: Paul A. Patience

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index ae05f78534..9f0c473d4f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -2947,6 +2947,89 @@ (define-public cl-mgl-pax
 (define-public ecl-mgl-pax
   (sbcl-package->ecl-package sbcl-mgl-pax))

+(define-public sbcl-40ants-doc
+  (let ((commit "7725ff67a380e9ebfc6155e14d91e650f256711b")
+        (revision "0"))
+    (package
+      (name "sbcl-40ants-doc")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/40ants/doc")
+               (commit commit)))
+         (sha256
+          (base32 "1v6gnhrk02vsixmprzk4wvvj7vh11vp5waxyih0qz2ih8d38r5pg"))
+         (file-name (git-file-name "cl-40ants-doc" version))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       ;; TODO: Add remaining dependencies of 40ants-doc-full and
+       ;; 40ants-doc-test missing from Guix.
+       '(#:asd-systems '("40ants-doc"
+                         ;;"40ants-doc-full"
+                         )
+         #:tests? #f))
+      ;;(native-inputs
+      ;; (list sbcl-rove))
+      (inputs
+       (list sbcl-named-readtables
+             sbcl-pythonic-string-reader
+             ;; For 40ants-doc-full:
+             ;;sbcl-3bmd
+             ;;sbcl-alexandria
+             ;;sbcl-babel
+             ;;sbcl-cl-cookie
+             ;;sbcl-cl-fad
+             ;;sbcl-cl-ppcre
+             ;;sbcl-common-doc         ; Missing from Guix
+             ;;sbcl-common-html        ; Missing from Guix
+             ;;sbcl-commondoc-markdown ; Missing from Guix
+             ;;sbcl-dexador
+             ;;sbcl-docs-builder       ; Missing from Guix
+             ;;sbcl-fare-utils
+             ;;sbcl-jonathan
+             ;;sbcl-lass
+             ;;sbcl-local-time
+             ;;sbcl-log4cl
+             ;;sbcl-slime-swank
+             ;;sbcl-slynk
+             ;;sbcl-spinneret
+             ;;sbcl-stem ; Missing from Guix; also, license is unconfirmed
+             ;;sbcl-str
+             ;;sbcl-tmpdir          ; Missing from Guix
+             ;;sbcl-trivial-extract ; Missing from Guix
+             ;;sbcl-xml-emitter
+             ))
+      (home-page "https://40ants.com/doc/")
+      (synopsis "Exploratory programming environment and documentation generator")
+      (description
+       "@code{40ants-doc} provides a rudimentary explorable programming
+environment.  The narrative primarily lives in so-called sections that mix
+Markdown docstrings with references to functions, variables, etc., all of
+which should probably have their own docstrings.
+
+The primary focus is on making code easily explorable by using SLIME's
+@kbd{M-.} (@code{slime-edit-definition}).  Generating documentation in
+Markdown or HTML format from sections and all the referenced items is also
+implemented.
+
+With the simplistic tools provided, one may obtain results similar to literate
+programming, but documentation is generated from code, not the other way
+around, and there is no support for chunking.  Code comes first, code must
+look pretty, documentation is code.
+
+@code{40ants-doc} is a fork of MGL-PAX with fewer dependencies (only
+@code{named-readtables} and @code{pythonic-string-reader}) for the core
+system, and additional features in the full system.")
+      (license license:expat))))
+
+(define-public cl-40ants-doc
+  (sbcl-package->cl-source-package sbcl-40ants-doc))
+
+(define-public ecl-40ants-doc
+  (sbcl-package->ecl-package sbcl-40ants-doc))
+
 (define-public sbcl-mssql
   (let ((commit "045602a19a32254108f2b75871049293f49731eb")
         (revision "1"))
--
2.38.0






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

* [bug#59500] [PATCH 2/3] gnu: Add cl-tar-file.
  2022-11-23  3:26 ` [bug#59500] [PATCH 1/3] gnu: Add cl-40ants-doc Paul A. Patience
@ 2022-11-23  3:27   ` Paul A. Patience
  2022-11-23  3:27   ` [bug#59500] [PATCH 3/3] gnu: Add cl-tar Paul A. Patience
  1 sibling, 0 replies; 5+ messages in thread
From: Paul A. Patience @ 2022-11-23  3:27 UTC (permalink / raw)
  To: 59500; +Cc: Paul A. Patience

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9f0c473d4f..1e9b7260e9 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9334,6 +9334,55 @@ (define-public cl-archive
 (define-public ecl-archive
   (sbcl-package->ecl-package sbcl-archive))

+(define-public sbcl-tar-file
+  (let ((commit "0c10bc82f14702c97a26dc25ce075b5d3a2347d1")
+        (revision "0"))
+    (package
+      (name "sbcl-tar-file")
+      (version (git-version "0.2.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.common-lisp.net/cl-tar/cl-tar-file")
+               (commit commit)))
+         (file-name (git-file-name "cl-tar-file" version))
+         (sha256
+          (base32 "0i8j05fkgdqy4c4pqj0c68sh4s3klpx9kc5wp73qwzrl3xqd2svy"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       (list sbcl-parachute))
+      (inputs
+       (list sbcl-40ants-doc
+             sbcl-alexandria
+             sbcl-babel
+             sbcl-chipz
+             sbcl-flexi-streams
+             sbcl-salza2
+             sbcl-trivial-gray-streams))
+      (home-page "https://gitlab.common-lisp.net/cl-tar/cl-tar-file")
+      (synopsis "Read and write physical entries to and from tar files")
+      (description
+       "@code{cl-tar-file} is a Common Lisp library that allows reading from
+and writing to various tar archive formats.  Currently supported are the POSIX
+ustar, PAX (ustar with a few new entry types), GNU, and v7 (very old) formats.
+
+This library is rather low level and is focused exclusively on reading and
+writing physical tar file entries using streams.  Therefore, it contains no
+functionality for automatically building archives from a set of files on the
+filesystem or writing the contents of a file to the filesystem.  Additionally,
+there are no smarts that read multiple physical entries and combine them into
+a single logical entry (e.g., with PAX extended headers or GNU long link/path
+name support).  For a higher-level library that reads and writes logical
+entries, and also includes filesystem integration, see @code{cl-tar}.")
+      (license license:bsd-3))))
+
+(define-public cl-tar-file
+  (sbcl-package->cl-source-package sbcl-tar-file))
+
+(define-public ecl-tar-file
+  (sbcl-package->ecl-package sbcl-tar-file))
+
 (define-public sbcl-misc-extensions
   (let ((commit "101c05112bf2f1e1bbf527396822d2f50ca6327a")
         (revision "1"))
--
2.38.0






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

* [bug#59500] [PATCH 3/3] gnu: Add cl-tar.
  2022-11-23  3:26 ` [bug#59500] [PATCH 1/3] gnu: Add cl-40ants-doc Paul A. Patience
  2022-11-23  3:27   ` [bug#59500] [PATCH 2/3] gnu: Add cl-tar-file Paul A. Patience
@ 2022-11-23  3:27   ` Paul A. Patience
  1 sibling, 0 replies; 5+ messages in thread
From: Paul A. Patience @ 2022-11-23  3:27 UTC (permalink / raw)
  To: 59500; +Cc: Paul A. Patience

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1e9b7260e9..55cc90b08a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9383,6 +9383,54 @@ (define-public cl-tar-file
 (define-public ecl-tar-file
   (sbcl-package->ecl-package sbcl-tar-file))

+(define-public sbcl-tar
+  (let ((commit "7c6e07a10c93d9e311f087b5f6328cddd481669a")
+        (revision "0"))
+    (package
+      (name "sbcl-tar")
+      (version (git-version "0.2.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.common-lisp.net/cl-tar/cl-tar")
+               (commit commit)))
+         (file-name (git-file-name "cl-tar" version))
+         (sha256
+          (base32 "0wp23cs3i6a89dibifiz6559la5nk58d1n17xvbxq4nrl8cqsllf"))))
+      (build-system asdf-build-system/sbcl)
+      ;; TODO: Build the tar program with 'build-program' when the
+      ;; 'asdf-release-ops' library is added to Guix.
+      (arguments
+       '(#:asd-systems '("tar"
+                         "tar/common-extract"
+                         "tar/create"
+                         "tar/docs"
+                         "tar/extract"
+                         "tar/simple-extract")))
+      (native-inputs
+       (list sbcl-parachute))
+      (inputs
+       (list sbcl-40ants-doc
+             sbcl-alexandria
+             sbcl-babel
+             sbcl-local-time
+             sbcl-osicat
+             sbcl-split-sequence
+             sbcl-tar-file))
+      (home-page "https://gitlab.common-lisp.net/cl-tar/cl-tar")
+      (synopsis "High-level interface for tar files")
+      (description
+       "@code{cl-tar} is a Common Lisp library providing a high-level interface
+for interacting with tar archives.")
+      (license license:expat))))
+
+(define-public cl-tar
+  (sbcl-package->cl-source-package sbcl-tar))
+
+(define-public ecl-tar
+  (sbcl-package->ecl-package sbcl-tar))
+
 (define-public sbcl-misc-extensions
   (let ((commit "101c05112bf2f1e1bbf527396822d2f50ca6327a")
         (revision "1"))
--
2.38.0






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

* bug#59500: [PATCH 0/3] gnu: Add cl-tar.
  2022-11-23  3:25 [bug#59500] [PATCH 0/3] gnu: Add cl-tar Paul A. Patience
  2022-11-23  3:26 ` [bug#59500] [PATCH 1/3] gnu: Add cl-40ants-doc Paul A. Patience
@ 2022-11-24  9:20 ` Guillaume Le Vaillant
  1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-24  9:20 UTC (permalink / raw)
  To: Paul A. Patience; +Cc: 59500-done

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

Patches pushed as 8a620036d7490766be1822213ed8ab88cbe4f491 and
following.
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-11-24  9:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-23  3:25 [bug#59500] [PATCH 0/3] gnu: Add cl-tar Paul A. Patience
2022-11-23  3:26 ` [bug#59500] [PATCH 1/3] gnu: Add cl-40ants-doc Paul A. Patience
2022-11-23  3:27   ` [bug#59500] [PATCH 2/3] gnu: Add cl-tar-file Paul A. Patience
2022-11-23  3:27   ` [bug#59500] [PATCH 3/3] gnu: Add cl-tar Paul A. Patience
2022-11-24  9:20 ` bug#59500: [PATCH 0/3] " Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.