[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/38: gnu: Add ruby-cucumber-messages
From: |
guix-commits |
Subject: |
23/38: gnu: Add ruby-cucumber-messages |
Date: |
Wed, 8 Jul 2020 23:42:32 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit dff5392f855c70bdeeb060ca7f4422ba6a91de5e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jul 7 15:05:59 2020 -0400
gnu: Add ruby-cucumber-messages
* gnu/packages/ruby.scm (ruby-cucumber-messages): New variable.
---
gnu/packages/ruby.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0816359..47951d9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -60,6 +60,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages node)
+ #:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages ragel)
@@ -6387,6 +6388,49 @@ Profiling multiple threads simultaneously is supported.
(home-page "https://github.com/ruby-prof/ruby-prof")
(license license:bsd-2)))
+(define-public ruby-cucumber-messages
+ (package
+ (name "ruby-cucumber-messages")
+ (version "12.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cucumber/messages-ruby.git")
+ (commit "12cd07eac87bce7843fd1bb0bf64bc4da09f097c")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "16wwqfpsq7crvxc3q08lphgyh12cl2d83p1c79p312q4jmy9cn5a"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch-protobuf.rb
+ (lambda _
+ (substitute* "rake/protobuf.rb"
+ (("load 'protobuf/tasks/compile.rake'")
+ "require 'protobuf/tasks'"))
+ #t))
+ (add-before 'build 'compile
+ (lambda _
+ (substitute* "Makefile"
+ (("bundle exec ") "")
+ (("include default.mk.*" all)
+ (string-append "#" all)))
+ (invoke "make")))
+ (replace 'check
+ (lambda _
+ (invoke "rspec"))))))
+ (propagated-inputs
+ `(("ruby-protobuf" ,ruby-protobuf-cucumber)))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)))
+ (home-page "https://github.com/cucumber/messages-ruby")
+ (synopsis "Cucumber Messages for Ruby (Protocol Buffers)")
+ (description "Cucumber Messages for Ruby is a library which allows
+serialization and deserialization of the protocol buffer messages used in
+Cucumber.")
+ (license license:expat)))
+
(define-public ruby-gherkin
(package
(name "ruby-gherkin")
- 24/38: gnu: ruby-gherkin: Update to 14.0.1., (continued)
- 24/38: gnu: ruby-gherkin: Update to 14.0.1., guix-commits, 2020/07/08
- 18/38: gnu: Add ruby-pry-stack-explorer., guix-commits, 2020/07/08
- 27/38: gnu: ruby-cucumber-core: Update to 7.1.0., guix-commits, 2020/07/08
- 28/38: gnu: ruby-cucumber-tag-expressions: Update to 3.0.0., guix-commits, 2020/07/08
- 37/38: gnu: ruby-parallel-tests: Update to 3.0.0., guix-commits, 2020/07/08
- 21/38: gnu: Add ruby-protobuf., guix-commits, 2020/07/08
- 29/38: gnu: Add ruby-sys-uname., guix-commits, 2020/07/08
- 31/38: gnu: ruby-cucumber-expressions: Update to 10.2.0., guix-commits, 2020/07/08
- 32/38: gnu: ruby-cucumber-wire: Update to 3.1.0., guix-commits, 2020/07/08
- 33/38: gnu: Add ruby-cucumber-html-formatter., guix-commits, 2020/07/08
- 23/38: gnu: Add ruby-cucumber-messages,
guix-commits <=
- 34/38: gnu: ruby-cucumber: Update to 4.1.0., guix-commits, 2020/07/08
- 35/38: gnu: ruby_version: Update to 1.0.2., guix-commits, 2020/07/08
- 36/38: gnu: Add ruby-cuke-modeler., guix-commits, 2020/07/08
- 38/38: gnu: ruby-sdoc: Update to 1.1.0., guix-commits, 2020/07/08