gnu: Add emacs-mocker.

* gnu/packages/emacs.scm (emacs-mocker): New variable.
This commit is contained in:
Maxim Cournoyer 2018-02-12 22:08:37 -05:00
parent aaf10fa7d8
commit 563f151bd4
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 28 additions and 0 deletions

View File

@ -4500,6 +4500,34 @@ provide the historic behavior of @code{flet}, as well as
@code{declare-function} stub for older Emacs.") @code{declare-function} stub for older Emacs.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public emacs-mocker
(package
(name "emacs-mocker")
(version "0.3.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sigma/mocker.el.git")
(commit (string-append "v" version))))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"1lav7am41v63xgavq8pr88y828jmd1cxd4prjq7jlbxm6nvrwxh2"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #t
#:test-command '("ert-runner")))
(native-inputs
`(("ert-runner" ,ert-runner)))
(propagated-inputs
`(("emacs-el-x" ,emacs-el-x)))
(home-page "https://github.com/sigma/mocker.el")
(synopsis "Mocking framework for Emacs Lisp")
(description "Mocker.el is a framework for writing tests in Emacs Lisp.
It uses regular Lisp rather than a domain specific language (DSL), which
maximizes flexibility (at the expense of conciseness).")
(license license:gpl2+)))
(define-public emacs-rainbow-delimiters (define-public emacs-rainbow-delimiters
(package (package
(name "emacs-rainbow-delimiters") (name "emacs-rainbow-delimiters")