[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28200] [PATCH] gnu: Add emacs-rspec.
From: |
Christopher Baines |
Subject: |
[bug#28200] [PATCH] gnu: Add emacs-rspec. |
Date: |
Wed, 23 Aug 2017 10:35:21 +0100 |
* 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:
+
address@hidden
+(require 'rspec-mode)
address@hidden example
+
+Provided you have yasnippet installed, you can load relevant snippets:
+
address@hidden
+(eval-after-load 'rspec-mode
+ '(rspec-install-snippets))
address@hidden example")
+ (license license:gpl3+)))
+
(define-public emacs-smart-mode-line
(package
(name "emacs-smart-mode-line")
--
2.14.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#28200] [PATCH] gnu: Add emacs-rspec.,
Christopher Baines <=