aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2019-09-24 11:16:42 +0200
committerBrian Leung <leungbk@mailfence.com>2019-09-24 11:16:42 +0200
commit85dfecbedc55a450b12a17d98a0fe70e0c193790 (patch)
tree3d82d125d0f7139a835ec20fbbf4b146a334c483
parent09b2ae95c800b8da1ecc9e12f79421302a1bde33 (diff)
downloadpatches-85dfecbedc55a450b12a17d98a0fe70e0c193790.tar
patches-85dfecbedc55a450b12a17d98a0fe70e0c193790.tar.gz
gnu: emacs-stream: Enable tests.
* gnu/packages/emacs-xyz.scm (emacs-stream): Enable tests.
-rw-r--r--gnu/packages/emacs-xyz.scm17
1 files changed, 12 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ce5ae1ca5a..92c91a0537 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7457,15 +7457,22 @@ editing nginx config files.")
(package
(name "emacs-stream")
(version "2.2.0")
- (home-page "https://github.com/NicolasPetton/stream")
(source
(origin
- (method url-fetch)
- (file-name (string-append name "-" version ".tar.gz"))
- (uri (string-append home-page "/archive/"version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/NicolasPetton/stream.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
+ (base32 "10x481lmkcmjrmdnlbqvys2b3525npn4a84j6g404pv4sfwlj6ab"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:tests? #t
+ #:test-command '("emacs" "--batch"
+ "-l" "test/stream-tests.el"
+ "-f" "ert-run-tests-batch-and-exit")))
+ (home-page "https://github.com/NicolasPetton/stream")
(synopsis "Implementation of streams for Emacs")
(description "This library provides an implementation of streams for Emacs.
Streams are implemented as delayed evaluation of cons cells.")