Subject: [PATCH v1] gnu: Add emacs-bfuture.

From: Fredrik Salomonsson <[email-masked]>
Date: Sun, 15 May 2022 19:41:33 +0000

* gnu/packages/emacs-xyz.scm (emacs-bfuture): New variable.
---
 gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8a319fc0ff..ccc0dcd988 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24716,6 +24716,35 @@ (define-public emacs-dap-mode
 Debug server.")
     (license license:gpl3+)))
 
+(define-public emacs-bfuture
+  (package
+   (name "emacs-bfuture")
+   (version "1.0.1")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://git.sr.ht/~plattfot/bfuture")
+           (commit (string-append "v" version))))
+     (sha256
+      (base32
+       "1m4v4xbsvg26z7nvg2c8q7x1nvv7v4ajm56l0nbkwcbdbrgahpva"))
+     (file-name (git-file-name name version))))
+   (build-system emacs-build-system)
+   (arguments
+    (list #:tests? (not (%current-target-system))
+          #:test-command #~'("ert-runner")))
+   (native-inputs (list emacs-ert-runner))
+   (home-page "https://github.com/plattfot/bfuture.el")
+   (synopsis "Basic future concept for @code{emacs} with @code{tramp} support")
+   (description
+    "This package provides basic functions for spawning processes
+asynchronous in @code{emacs} and retrieving the output. It is similar
+to @code{emacs-pfuture} except that this works over @code{tramp} but
+the feature set is more limited. For example it cannot tell stdout and
+stderr apart.")
+   (license license:gpl3+)))
+
 (define-public emacs-pfuture
   (package
     (name "emacs-pfuture")

base-commit: ebb43029506d994bee0c2b890881fd61a0b0c202
-- 
2.36.0