diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-09-17 10:38:12 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-09-17 11:21:42 +0200 |
commit | 3ffe36f5349bfed523ef7405c5b3c45da7195802 (patch) | |
tree | 8f50e8c5af1a934ed3793f079ef45d917bdce1dc /gnu/packages/emacs.scm | |
parent | cd89fecbe71a1f72c676eb0589d218237ccbf43b (diff) | |
download | patches-3ffe36f5349bfed523ef7405c5b3c45da7195802.tar patches-3ffe36f5349bfed523ef7405c5b3c45da7195802.tar.gz |
gnu: Add emacs-deferred.
* gnu/packages/emacs.scm (emacs-deferred): New variable.
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r-- | gnu/packages/emacs.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index f7ad4e3a19..2ab1ebe4a0 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1098,3 +1098,27 @@ prefer the listing of bugs as TODO items of @code{org-mode}, you could use A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.") (license license:gpl3+))) + +(define-public emacs-deferred + (package + (name "emacs-deferred") + (version "0.3.2") + (home-page "https://github.com/kiwanami/emacs-deferred") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 + "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr")) + (file-name (string-append name "-" version)))) + (build-system emacs-build-system) + ;; FIXME: Would need 'el-expectations' to actually run tests. + (synopsis "Simple asynchronous functions for Emacs Lisp") + (description + "The @code{deferred.el} library provides support for asynchronous tasks. +The API is almost the same as that of +@uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library +for asynchronous tasks.") + (license license:gpl3+))) |