Subject: [bug#67428] [PATCH v2 10/12] gnu: Add cl-rpcq

From: Michal Atlas <[email-masked]>
Date: Fri, 24 Nov 2023 17:07:15 +0000

* gnu/packages/quantum.scm (sbcl-rpcq, ecl-rpcq, cl-rpcq): New variables.

Change-Id: I49d983bd076d68013ba9775ef7582cf80027405b
---
 gnu/packages/quantum.scm | 44 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm
index 3663e386ea..adc2e848ac 100644
--- a/gnu/packages/quantum.scm
+++ b/gnu/packages/quantum.scm
@@ -52,3 +52,47 @@ (define-public sbcl-magicl
 
 (define-public cl-magicl
   (sbcl-package->cl-source-package sbcl-magicl))
+
+(define-public sbcl-rpcq
+  (package
+    (name "sbcl-rpcq")
+    (version "3.10.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/rigetti/rpcq")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bvppxlacvp0pfdbpn7ls1zxd127jacl225ds7lph5s8f8cyvf17"))))
+    (build-system asdf-build-system/sbcl)
+    (inputs (list sbcl-alexandria
+                  sbcl-parse-float
+                  sbcl-yason
+                  sbcl-cl-ppcre
+                  sbcl-pzmq
+                  sbcl-cl-messagepack
+                  sbcl-bordeaux-threads
+                  sbcl-local-time
+                  sbcl-uuid
+                  sbcl-cl-syslog
+                  sbcl-flexi-streams
+                  sbcl-trivial-backtrace
+                  sbcl-fiasco))
+    (synopsis
+     "RPC framework and message specification for rigetti Quantum Cloud Services")
+    (description
+     "The asynchronous RPC client-server framework and
+message specification for Rigetti Quantum Cloud Services (QCS).
+Implements an efficient transport protocol by using ZeroMQ (ZMQ) sockets
+and MessagePack (msgpack) serialization.")
+    (home-page "https://github.com/rigetti/rpcq")
+    (license license:asl2.0)))
+
+(define-public ecl-rpcq
+  (sbcl-package->ecl-package sbcl-rpcq))
+
+(define-public cl-rpcq
+  (sbcl-package->cl-source-package sbcl-rpcq))
+
-- 
2.41.0