unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55327] [PATCH] gnu: Add sbcl-zip.
@ 2022-05-08 22:10 Adam Kandur
  2022-05-09  9:17 ` bug#55327: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Kandur @ 2022-05-08 22:10 UTC (permalink / raw)
  To: 55327; +Cc: Adam Kandur

* gnu/packages/lisp-xyz.scm (sbcl-zip): 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 4e8e0a4bfc..0f6042c467 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -910,6 +910,43 @@ (define-public ecl-zpb-ttf
 (define-public cl-zpb-ttf
   (sbcl-package->cl-source-package sbcl-zpb-ttf))
 
+(define-public sbcl-zip
+  ;; named branch is outdated
+  (let ((commit "688b1545dd7a4fe355556768bb03f8bd9b847a87")
+        (revision "1"))
+    (package
+      (name "sbcl-zip")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+	 (method git-fetch)
+	 (uri (git-reference
+               (url "https://github.com/bluelisp/zip")
+               (commit commit)))
+	 (sha256
+	  (base32
+	   "0s08a6fq182fzsbfyvihqbdllq6gxcwkvphxnrd9wwz65dhg5y66"))
+	 (file-name (git-file-name name version))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("sbcl-salza2" ,sbcl-salza2)
+	 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
+	 ("sbcl-babel" ,sbcl-babel)
+	 ("sbcl-cl-fad" ,sbcl-cl-fad)))
+      (arguments
+       ;; TODO: Tests fail because they require quicklisp to run.
+       `(#:tests? #f))
+      (synopsis "zip library written in Common Lisp")
+      (description "Library for .zip-file reading and writing, written in Common Lisp.")
+      (home-page "https://zip.common-lisp.dev")
+      (license license:expat))))
+
+(define-public ecl-zip
+  (sbcl-package->ecl-package sbcl-zpb-ttf))
+
+(define-public cl-zip
+  (sbcl-package->cl-source-package sbcl-zpb-ttf))
+
 (define-public sbcl-cl-vectors
   (package
     (name "sbcl-cl-vectors")
-- 
2.36.0





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

* bug#55327: [PATCH] gnu: Add sbcl-zip.
  2022-05-08 22:10 [bug#55327] [PATCH] gnu: Add sbcl-zip Adam Kandur
@ 2022-05-09  9:17 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2022-05-09  9:17 UTC (permalink / raw)
  To: Adam Kandur; +Cc: 55327-done

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

Patch pushed as 9f9c2f200b6bb25486f6739dba08a818740e6a80 with some
simplifications (new style for inputs) and fixes (license field, wrong
variable name in definitions of cl-zip and ecl-zip).
Thanks.

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

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

end of thread, other threads:[~2022-05-09  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-08 22:10 [bug#55327] [PATCH] gnu: Add sbcl-zip Adam Kandur
2022-05-09  9:17 ` bug#55327: " 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).