gnu: emacs-stream: Enable tests.

* gnu/packages/emacs-xyz.scm (emacs-stream): Enable tests.
This commit is contained in:
Brian Leung 2019-09-24 11:16:42 +02:00
parent 09b2ae95c8
commit 85dfecbedc
No known key found for this signature in database
GPG key ID: 3ADC75F013D678F9

View file

@ -7457,15 +7457,22 @@ (define-public emacs-stream
(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.")