diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2018-02-12 22:08:37 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2018-09-12 22:16:24 -0400 |
commit | 563f151bd42c51b56794bee307148beef7fada26 (patch) | |
tree | b2feb4debd68171b8492cb1dbe24499cdd8757ab /gnu | |
parent | aaf10fa7d8e74a81a891fcc02f1719ab4968c9a3 (diff) | |
download | guix-563f151bd42c51b56794bee307148beef7fada26.tar.gz |
gnu: Add emacs-mocker.
* gnu/packages/emacs.scm (emacs-mocker): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 65056d3445..741351f7f6 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4500,6 +4500,34 @@ provide the historic behavior of @code{flet}, as well as @code{declare-function} stub for older Emacs.") (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 (package (name "emacs-rainbow-delimiters") |