gnu: Add emacs-async-await.

* gnu/packages/emacs-xyz.scm (emacs-async-await): New variable.
This commit is contained in:
Pierre Neidhardt 2020-10-20 17:02:36 +02:00
parent d53ee6bcd2
commit 996deb819f
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F

View File

@ -25080,3 +25080,26 @@ faithfully. See @url{https://github.com/then/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+)))