aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2024-09-26 23:04:10 -0500
committerjgart <jgart@dismail.de>2024-09-26 23:15:13 -0500
commita75387f8eeaacb242af66073c838485df1e87a10 (patch)
tree60e857ae97829f92a375e16c337319cc2eaffc2d /gnu/packages/lisp-xyz.scm
parentb9e60543910d8100b434b20c95468943c00a431d (diff)
downloadguix-a75387f8eeaacb242af66073c838485df1e87a10.tar
guix-a75387f8eeaacb242af66073c838485df1e87a10.tar.gz
gnu: Add cl-trivial-ws.
* gnu/packages/lisp-xyz.scm (cl-trivial-ws, ecl-trivial-ws, sbcl-trivial-ws): New variables. Co-authored-by: Ada Stevenson <adanskana@gmail.com> Change-Id: I1c2ec0a33c02038eabb21f3da3817da9baf74960
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 3cb4bb84a0..f40cd536d0 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -30369,6 +30369,45 @@ concept of a source-form to report where the error or warning is located.")
;; can be loaded on ECL.
(sbcl-package->ecl-package sbcl-trivial-with-current-source-form))
+(define-public sbcl-trivial-ws
+ (let ((commit "ebf1ec0ea26bdac4007e98e89f3a621dbfb4390a")
+ (revision "0"))
+ (package
+ (name "sbcl-trivial-ws")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ceramic/trivial-ws/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qmsf0dhmyhjgqjzdgj2yb1nkrijwp4p1j411613i45xjc2zd6m7"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ (list sbcl-prove
+ sbcl-find-port))
+ (inputs
+ (list sbcl-hunchensocket
+ sbcl-websocket-driver
+ sbcl-cl-async))
+ (home-page "https://github.com/ceramic/trivial-ws")
+ (synopsis "Common Lisp library for using WebSockets")
+ (description
+ "This package implements a simple interface for using WebSockets via Common Lisp.")
+ (license license:expat))))
+
+(define-public cl-trivial-ws
+ (sbcl-package->cl-source-package sbcl-trivial-ws))
+
+(define-public ecl-trivial-ws
+ (package
+ (inherit (sbcl-package->ecl-package sbcl-trivial-ws))
+ (arguments
+ ;; https://github.com/ceramic/trivial-ws/issues/7
+ (list #:tests? #f))))
+
(define-public sbcl-trivialib-type-unify
(let ((commit "62492ebf04db567dcf435ae84c50b7b8202ecf99")
(revision "1"))