From: Christopher Baines <mail@cbaines.net>
To: 28200@debbugs.gnu.org
Subject: [bug#28200] [PATCH] gnu: Add emacs-rspec.
Date: Wed, 23 Aug 2017 10:35:21 +0100 [thread overview]
Message-ID: <20170823093521.8514-1-mail@cbaines.net> (raw)
* gnu/packages/emacs.scm (emacs-rspec): New variable.
---
gnu/packages/emacs.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 140a53205..536726f03 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1967,6 +1967,43 @@ tables.")
mode-line.")
(license license:gpl2+)))
+(define-public emacs-rspec
+ (package
+ (name "emacs-rspec")
+ (version "1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/pezra/rspec-mode/"
+ "archive/v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1j0a7ms5516nlg60qfyn730pfxys6acm0rgyxh5xfkpi6jafgpvw"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/pezra/rspec-mode")
+ (synopsis "Provides a rspec mode for working with RSpec")
+ (description
+ "The Emacs RSpec mode provides keybindings for Ruby source files, e.g. to
+verify the spec associated with the current buffer, or entire project, as well
+as moving between the spec files, and coresponding code files.
+
+There are also keybindings for spec files and Dired buffers.
+
+To enable, use:
+
+@example
+(require 'rspec-mode)
+@end example
+
+Provided you have yasnippet installed, you can load relevant snippets:
+
+@example
+(eval-after-load 'rspec-mode
+ '(rspec-install-snippets))
+@end example")
+ (license license:gpl3+)))
+
(define-public emacs-smart-mode-line
(package
(name "emacs-smart-mode-line")
--
2.14.1
next reply other threads:[~2017-08-23 9:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-23 9:35 Christopher Baines [this message]
2017-09-04 6:12 ` [bug#28200] [PATCH] gnu: Add emacs-rspec Christopher Baines
2017-09-09 20:23 ` Alex Kost
2017-09-10 18:32 ` bug#28200: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170823093521.8514-1-mail@cbaines.net \
--to=mail@cbaines.net \
--cc=28200@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.