From 996deb819fb2207d4bcf07cafe3087dbbd24a9de Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 20 Oct 2020 17:02:36 +0200 Subject: gnu: Add emacs-async-await. * gnu/packages/emacs-xyz.scm (emacs-async-await): New variable. --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a34a355df7..4b593f6a1d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -25080,3 +25080,26 @@ (define-public emacs-promise @item It supports \"rejection-tracking\". @end itemize\n") (license license:gpl3+))) + +(define-public emacs-async-await + (package + (name "emacs-async-await") + (version "1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chuntaro/emacs-async-await") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0aav9qdswnw7ynqlzn0sm34as5fj2d85syxgg8zjabzp6646ay29")))) + (build-system emacs-build-system) + (propagated-inputs + `(("promise" ,emacs-promise) + ("iter2" ,emacs-iter2))) + (home-page "https://github.com/chuntaro/emacs-async-await") + (synopsis "Async/Await for Emacs") + (description "This is a simple implementation of Async/Await inspired by +the TypeScript implementation.") + (license license:gpl3+))) -- cgit v1.2.3