From: "Paul A. Patience" <paul@apatience.com>
To: 59500@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#59500] [PATCH 2/3] gnu: Add cl-tar-file.
Date: Wed, 23 Nov 2022 03:27:04 +0000 [thread overview]
Message-ID: <20221123032653.106845-2-paul@apatience.com> (raw)
In-Reply-To: <20221123032653.106845-1-paul@apatience.com>
* 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
next prev parent reply other threads:[~2022-11-23 3:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Paul A. Patience [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221123032653.106845-2-paul@apatience.com \
--to=paul@apatience.com \
--cc=59500@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.