unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 62195@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#62195] [PATCH 06/17] gnu: Add cl-promise.
Date: Tue, 14 Mar 2023 23:50:53 +0000	[thread overview]
Message-ID: <20230314235104.25596-6-sharlatanus@gmail.com> (raw)
In-Reply-To: <20230314235104.25596-1-sharlatanus@gmail.com>

* gnu/packages/lisp-xyz.scm (cl-promise, ecl-promise, sbcl-promise): New variables.
---
 gnu/packages/lisp-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index ad7b03e943..71ace88b2b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -13022,6 +13022,41 @@ (define-public cl-prometheus
 (define-public ecl-prometheus
   (sbcl-package->ecl-package sbcl-prometheus))
 
+(define-public sbcl-promise
+  (let ((commit "801db8f853da7935ae2e487fd7f8763acbc5ad2a")
+        (revision "0"))
+    (package
+      (name "sbcl-promise")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Shinmera/promise")
+               (commit commit)))
+         (file-name (git-file-name "promise" version))
+         (sha256
+          (base32 "07cvz6vb5y1d9vndcwq7q1cp54aqvyqzv6wk8vmymbz3lawq2wsn"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       (list sbcl-parachute))
+      (inputs
+       (list sbcl-documentation-utils))
+      (home-page "https://shinmera.github.io/promise/")
+      (synopsis "Promise mechanism for asynchronous operations")
+      (description
+       "This library implements a basic promise datastructure, which is useful for
+dealing with asynchronous behaviours.  Importantly, this library does not use any
+other libraries or frameworks, and instead leaves the execution and state
+transition of promise objects in your control, making it easy to integrate.")
+      (license license:zlib))))
+
+(define-public ecl-promise
+  (sbcl-package->ecl-package sbcl-promise))
+
+(define-public cl-promise
+  (sbcl-package->cl-source-package sbcl-promise))
+
 (define-public sbcl-uuid
   (let ((commit "e7d6680c3138385c0708f7aaf0c96622eeb140e8"))
     (package
-- 
2.39.2





  parent reply	other threads:[~2023-03-14 23:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-14 23:49 [bug#62195] [PATCH 00/17]: gnu: cl-trial: Update to 1.2.0-2.db4e98e Sharlatan Hellseher
2023-03-14 23:50 ` [bug#62195] [PATCH 01/17] gnu: cl-3d-vectors: Update to 3.1.0-2.2579694 Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 02/17] gnu: cl-3d-matrices: Update to 1.0.0-2.b4f5a58 Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 03/17] gnu: Add cl-3d-quaternions Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 04/17] gnu: Add cl-3d-transforms Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 05/17] gnu: Add cl-trivial-extensible-sequences Sharlatan Hellseher
2023-03-14 23:50   ` Sharlatan Hellseher [this message]
2023-03-14 23:50   ` [bug#62195] [PATCH 07/17] gnu: cl-parachute: Update to 1.5.0-1.bd072b0 Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 08/17] gnu: cl-pathname-utils: Update to 1.1.0-2.13189c0 Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 09/17] gnu: cl-glsl-toolkit: Update to 1.0.0-2.4c4889e Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 10/17] gnu: cl-gamepad: Update to 3.0.0-2.647f6ee Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 11/17] gnu: cl-3b-bmfont: Update to 0.0.1-3.332c226 Sharlatan Hellseher
2023-03-14 23:50   ` [bug#62195] [PATCH 12/17] gnu: cl-alloy: Update to 0.0.0-3.628974d Sharlatan Hellseher
2023-03-14 23:51   ` [bug#62195] [PATCH 13/17] gnu: cl-jzon: Fix build by disabling tests on ECL Sharlatan Hellseher
2023-03-14 23:51   ` [bug#62195] [PATCH 14/17] gnu: Add cl-gltf Sharlatan Hellseher
2023-03-14 23:51   ` [bug#62195] [PATCH 15/17] gnu: Add cl-dns-client Sharlatan Hellseher
2023-03-14 23:51   ` [bug#62195] [PATCH 16/17] gnu: cl-trial: Update to 1.2.0-2.db4e98e Sharlatan Hellseher
2023-03-14 23:51   ` [bug#62195] [PATCH 17/17] gnu: cl-zr-utils: Fix build by disabling tests Sharlatan Hellseher
2023-03-16 14:52 ` bug#62195: [PATCH 00/17]: gnu: cl-trial: Update to 1.2.0-2.db4e98e Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230314235104.25596-6-sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=62195@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).