[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/15: gnu: Add cl-async-ssl.
From: |
guix-commits |
Subject: |
12/15: gnu: Add cl-async-ssl. |
Date: |
Fri, 17 Jan 2020 07:47:02 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit ae51aa9136013cdf63efd1f7906668d6d011d4f3
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Fri Jan 17 11:17:38 2020 +0100
gnu: Add cl-async-ssl.
* gnu/packages/lisp-xyz.scm (sbcl-cl-async-ssl, cl-async-ssl,
ecl-cl-async-ssl): New variables.
---
gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index ded5489..c4e27e1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9559,3 +9559,35 @@ Common Lisp. It uses the libuv library as backend.")
(define-public ecl-cl-async-repl
(sbcl-package->ecl-package sbcl-cl-async-repl))
+
+(define-public sbcl-cl-async-ssl
+ (package
+ (inherit sbcl-cl-async-base)
+ (name "sbcl-cl-async-ssl")
+ (inputs
+ `(("cffi" ,sbcl-cffi)
+ ("cl-async" ,sbcl-cl-async)
+ ("openssl" ,openssl)
+ ("vom" ,sbcl-vom)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments sbcl-cl-async-base)
+ ((#:asd-file _ "") "cl-async-ssl.asd")
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/ssl/package.lisp"
+ (("libcrypto\\.so")
+ (string-append (assoc-ref inputs "openssl")
+ "/lib/libcrypto.so"))
+ (("libssl\\.so")
+ (string-append (assoc-ref inputs "openssl")
+ "/lib/libssl.so")))
+ #t))))))
+ (synopsis "SSL wrapper around cl-async socket implementation")))
+
+(define-public cl-async-ssl
+ (sbcl-package->cl-source-package sbcl-cl-async-ssl))
+
+(define-public ecl-cl-async-ssl
+ (sbcl-package->ecl-package sbcl-cl-async-ssl))
- branch master updated (33ed829 -> 8ea00ed), guix-commits, 2020/01/17
- 01/15: gnu: Add cl-misc-extensions., guix-commits, 2020/01/17
- 02/15: gnu: Add cl-mt19937., guix-commits, 2020/01/17
- 04/15: gnu: Add cl-cont., guix-commits, 2020/01/17
- 05/15: gnu: Add cl-coroutine., guix-commits, 2020/01/17
- 06/15: gnu: Add cl-vom., guix-commits, 2020/01/17
- 11/15: gnu: Add cl-async-repl., guix-commits, 2020/01/17
- 14/15: gnu: Add cl-async-future., guix-commits, 2020/01/17
- 07/15: gnu: Add cl-libuv., guix-commits, 2020/01/17
- 08/15: gnu: Add cl-async-base., guix-commits, 2020/01/17
- 12/15: gnu: Add cl-async-ssl.,
guix-commits <=
- 09/15: gnu: Add cl-async-util., guix-commits, 2020/01/17
- 03/15: gnu: Add cl-fset., guix-commits, 2020/01/17
- 10/15: gnu: Add cl-async., guix-commits, 2020/01/17
- 15/15: gnu: Add cl-green-threads., guix-commits, 2020/01/17
- 13/15: gnu: Add cl-blackbird., guix-commits, 2020/01/17