>From 024d2bd956771e9f861ae1aa8be2eb69628cc68e Mon Sep 17 00:00:00 2001 From: Katherine Cox-Buday Date: Fri, 29 Mar 2019 12:52:23 -0500 Subject: [PATCH 08/42] gnu: Add cl-base64 --- gnu/packages/lisp.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index ac605db446..cabcbba2a8 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -3992,3 +3992,38 @@ Rosenberg's CL packages.") (define-public cl-kmrcl (sbcl-package->cl-source-package sbcl-kmrcl)) +(define-public sbcl-cl-base64 + (let ((version "3.3.3")) + (package + (name "sbcl-cl-base64") + (version version) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "http://git.kpe.io/cl-base64.git") + (commit (string-append "v" version)))) + (sha256 + (base32 "1dw6j7n6gsd2qa0p0rbsjxj00acxx3i9ca1qkgl0liy8lpnwkypl")))) + (build-system asdf-build-system/sbcl) + (arguments + ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed + ;; in a nested call to ASDF/OPERATE:OPERATE unless identically + ;; to toplevel + `(#:tests? #f)) + (inputs + `(("sbcl-ptester" ,sbcl-ptester) + ("sbcl-kmrcl" ,sbcl-kmrcl))) + (home-page "http://files.kpe.io/cl-base64/") + (synopsis + "Common Lisp package to encode and decode base64 with URI support") + (description + "This package provides highly optimized base64 encoding and +decoding. Besides conversion to and from strings, integer conversions are +supported. Encoding with Uniform Resource Identifiers is supported by using a +modified encoding table that uses only URI-compatible characters.") + (license license:bsd-3)))) + +(define-public cl-cl-base64 + (sbcl-package->cl-source-package sbcl-cl-base64)) + -- 2.20.1