From 95ecc5da0036f03ecfd2c997f439b9b6950b87a5 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 3 Jul 2021 10:25:05 -0500 Subject: [PATCH] gnu: Add cl-portal. * gnu/packages/lisp-xyz.scm (sbcl-portal): New public variable. * gnu/packages/lisp-xyz.scm (ecl-portal): New public variable. * gnu/packages/lisp-xyz.scm (cl-portal): New public variable. --- gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 4bc200012e..48d043734c 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18273,3 +18273,43 @@ and DOM cleaning, to ensure that all remote DOMs are the same.") (define-public cl-issr-core (sbcl-package->cl-source-package sbcl-issr-core)) + +(define-public sbcl-portal + (let ((commit "cc7ba6a54cea6ef63b17dcc6e653d91d9907f59e") + (revision "1")) + (package + (name "sbcl-portal") + (version (git-version "1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/charJe/portal") + (commit commit))) + (sha256 + (base32 "0fc81iwb4lpp8d2scdwafkixxwkfmq4gqns522zyb4bh6c1rfmwy")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("sbcl-alexandria" ,sbcl-alexandria) + ("sbcl-arrows" ,sbcl-arrows) + ("sbcl-cl-base64" ,sbcl-cl-base64) + ("sbcl-cl-str" ,sbcl-cl-str) + ("sbcl-flexi-streams" ,sbcl-flexi-streams) + ("sbcl-global-vars" ,sbcl-global-vars) + ("sbcl-ironclad" ,sbcl-ironclad) + ("sbcl-parse-float" ,sbcl-parse-float) + ("sbcl-usocket-server" ,sbcl-usocket))) + (home-page "https://github.com/charJe/portal") + (synopsis "Portable Websocket Server for Common Lisp") + (description "A websocket server for common lisp using usockets to be +portable between implementations and operating systems. It has a programming +interface that allows for multiple websocket apps per server using Common Lisp +keywords for different websocket events. It has useful restarts and +customizable errors.") + (license license:llgpl)))) + +(define-public ecl-portal + (sbcl-package->ecl-package sbcl-portal)) + +(define-public cl-portal + (sbcl-package->cl-source-package sbcl-portal)) -- 2.32.0