[PATCH] gnu: Add sbcl-zip.

DoneSubmitted by Adam Kandur.
Details
2 participants
  • Guillaume Le Vaillant
  • Adam Kandur
Owner
unassigned
Severity
normal
A
A
Adam Kandur wrote on 9 May 00:10 +0200
(address . guix-patches@gnu.org)(name . Adam Kandur)(address . kefironpremise@gmail.com)
20220508221055.1364-1-kefironpremise@gmail.com
* gnu/packages/lisp-xyz.scm (sbcl-zip): New variable.
---
gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (50 lines)
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
G
G
Guillaume Le Vaillant wrote on 9 May 11:17 +0200
(name . Adam Kandur)(address . kefironpremise@gmail.com)(address . 55327-done@debbugs.gnu.org)
87zgjr2haa.fsf@kitej
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.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYnjc/Q8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j8ddwD+JevoZ3k1NKjJlmI/TWaiz81G4xcNaBAWDvdd
/2Kwb1MA/jFMwPeDMJWkpDlGLrA2c9h8UdnfQoaRdS22MRLMUfCc
=bvDs
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 55327@debbugs.gnu.org