* [PATCH] gnu: Add ruby-cucumber-core.
@ 2015-09-16 3:03 Pjotr Prins
2015-09-16 12:54 ` Thompson, David
0 siblings, 1 reply; 2+ messages in thread
From: Pjotr Prins @ 2015-09-16 3:03 UTC (permalink / raw)
To: guix-devel
* gnu/packages/ruby.scm (ruby-cucumber-core): New variable.
---
gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7dc46b6..752b825 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1147,3 +1147,31 @@ It is intended to replace Gherkin 2 and be used by all Cucumber
implementations to parse '.feature' files.")
(home-page "https://github.com/cucumber/gherkin3")
(license license:expat)))
+
+(define-public ruby-cucumber-core
+ (package
+ (name "ruby-cucumber-core")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "cucumber-core" version))
+ (sha256
+ (base32
+ "12mrzf0s96izpq0k10lahlkgwc4fjs0zfs344rh8r8h3w3jyppr8"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-gherkin3" ,ruby-gherkin3)))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-rspec" ,ruby-rspec)))
+ (arguments
+ '(#:tests? #f)) ; needs simplecov, among others
+ (synopsis "Core library for the Cucumber BDD app")
+ (description "Cucumber is a tool for running automated tests
+written in plain language. Because they're written in plain language,
+they can be read by anyone on your team. Because they can be read by
+anyone, you can use them to help improve communication, collaboration
+and trust on your team.")
+ (home-page "https://cucumber.io/")
+ (license license:expat)))
--
2.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Add ruby-cucumber-core.
2015-09-16 3:03 [PATCH] gnu: Add ruby-cucumber-core Pjotr Prins
@ 2015-09-16 12:54 ` Thompson, David
0 siblings, 0 replies; 2+ messages in thread
From: Thompson, David @ 2015-09-16 12:54 UTC (permalink / raw)
To: Pjotr Prins; +Cc: guix-devel
On Tue, Sep 15, 2015 at 11:03 PM, Pjotr Prins <pjotr.public12@thebird.nl> wrote:
> * gnu/packages/ruby.scm (ruby-cucumber-core): New variable.
> ---
> gnu/packages/ruby.scm | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 7dc46b6..752b825 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -1147,3 +1147,31 @@ It is intended to replace Gherkin 2 and be used by all Cucumber
> implementations to parse '.feature' files.")
> (home-page "https://github.com/cucumber/gherkin3")
> (license license:expat)))
> +
> +(define-public ruby-cucumber-core
> + (package
> + (name "ruby-cucumber-core")
> + (version "1.3.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (rubygems-uri "cucumber-core" version))
> + (sha256
> + (base32
> + "12mrzf0s96izpq0k10lahlkgwc4fjs0zfs344rh8r8h3w3jyppr8"))))
The indentation is off here and throughout the package expression, and
other package expressions. The output of 'guix import gem' is
pretty-printed to be easy to read, but it doesn't know of the proper
way to indent everything. Highlighting the expression in Emacs and
pressing TAB after copy/pasting the expression will do the trick.
> + (build-system ruby-build-system)
> + (propagated-inputs
> + `(("ruby-gherkin3" ,ruby-gherkin3)))
> + (native-inputs
> + `(("bundler" ,bundler)
> + ("ruby-rspec" ,ruby-rspec)))
> + (arguments
> + '(#:tests? #f)) ; needs simplecov, among others
> + (synopsis "Core library for the Cucumber BDD app")
> + (description "Cucumber is a tool for running automated tests
> +written in plain language. Because they're written in plain language,
> +they can be read by anyone on your team. Because they can be read by
> +anyone, you can use them to help improve communication, collaboration
> +and trust on your team.")
> + (home-page "https://cucumber.io/")
> + (license license:expat)))
> --
> 2.4.3
>
>
Pushed, thanks!
- Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-16 12:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-16 3:03 [PATCH] gnu: Add ruby-cucumber-core Pjotr Prins
2015-09-16 12:54 ` Thompson, David
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.