unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28200] [PATCH] gnu: Add emacs-rspec.
@ 2017-08-23  9:35 Christopher Baines
  2017-09-04  6:12 ` Christopher Baines
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2017-08-23  9:35 UTC (permalink / raw)
  To: 28200

* 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#28200] [PATCH] gnu: Add emacs-rspec.
  2017-08-23  9:35 [bug#28200] [PATCH] gnu: Add emacs-rspec Christopher Baines
@ 2017-09-04  6:12 ` Christopher Baines
  2017-09-09 20:23   ` Alex Kost
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2017-09-04  6:12 UTC (permalink / raw)
  To: 28200

* gnu/packages/emacs.scm (emacs-rspec): New variable.
---
 gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8955313e5..efb9e42a0 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1968,6 +1968,31 @@ 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.
+
+Also included are keybindings for spec files and Dired buffers, as well as
+snippets for yasnippet.")
+    (license license:gpl3+)))
+
 (define-public emacs-smart-mode-line
   (package
     (name "emacs-smart-mode-line")
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#28200] [PATCH] gnu: Add emacs-rspec.
  2017-09-04  6:12 ` Christopher Baines
@ 2017-09-09 20:23   ` Alex Kost
  2017-09-10 18:32     ` bug#28200: " Christopher Baines
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2017-09-09 20:23 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 28200

Christopher Baines (2017-09-04 07:12 +0100) wrote:

> * gnu/packages/emacs.scm (emacs-rspec): New variable.
> ---
>  gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)

This patch looks good to me, I think you may commit it, thank you!  And
sorry for this long delay without reviewing :-)

-- 
Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#28200: [PATCH] gnu: Add emacs-rspec.
  2017-09-09 20:23   ` Alex Kost
@ 2017-09-10 18:32     ` Christopher Baines
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Baines @ 2017-09-10 18:32 UTC (permalink / raw)
  To: Alex Kost; +Cc: 28200-done

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

On Sat, 09 Sep 2017 23:23:38 +0300
Alex Kost <alezost@gmail.com> wrote:

> Christopher Baines (2017-09-04 07:12 +0100) wrote:
> 
> > * gnu/packages/emacs.scm (emacs-rspec): New variable.
> > ---
> >  gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
> >  1 file changed, 25 insertions(+)  
> 
> This patch looks good to me, I think you may commit it, thank you!
> And sorry for this long delay without reviewing :-)

No problem, thanks for reviewing Alex :)

I've now pushed this.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-10 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23  9:35 [bug#28200] [PATCH] gnu: Add emacs-rspec Christopher Baines
2017-09-04  6:12 ` Christopher Baines
2017-09-09 20:23   ` Alex Kost
2017-09-10 18:32     ` bug#28200: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).