[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/66: gnu: Add ruby-crack.
From: |
guix-commits |
Subject: |
18/66: gnu: Add ruby-crack. |
Date: |
Thu, 14 Feb 2019 16:38:34 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 6f8bf0ebe3043dc604403ade71ad30a59efbdfc6
Author: Christopher Baines <address@hidden>
Date: Sun Jan 27 16:41:38 2019 +0000
gnu: Add ruby-crack.
Required for ruby-webmock.
* gnu/packages/ruby.scm (ruby-crack): New variable.
---
gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4b20ead..a0c0706 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -811,6 +811,38 @@ value is found.")
(home-page "https://github.com/egonSchiele/contracts.ruby")
(license license:bsd-2)))
+(define-public ruby-crack
+ (package
+ (name "ruby-crack")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "crack" version))
+ (sha256
+ (base32
+ "0abb0fvgw00akyik1zxnq7yv391va148151qxdghnzngv66bl62k"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (for-each (lambda (file)
+ (display file)(display "\n")
+ (invoke "ruby" "-Ilib" "-Itest" "-rrubygems" file))
+ (find-files "test" ".*rb$")))
+ #t)))))
+ (propagated-inputs
+ `(("ruby-safe-yaml" ,ruby-safe-yaml)))
+ (synopsis "Simple JSON and XML parsing for Ruby")
+ (description
+ "@code{crack} provides really simple JSON and XML parsing, extracted from
+code in Merb and Rails.")
+ (home-page "https://github.com/jnunemaker/crack")
+ (license license:expat)))
+
(define-public ruby-czmq-ffi-gen
(package
(name "ruby-czmq-ffi-gen")
- 05/66: gnu: Add ruby-fuubar., (continued)
- 05/66: gnu: Add ruby-fuubar., guix-commits, 2019/02/14
- 14/66: gnu: Add ruby-powerpack., guix-commits, 2019/02/14
- 13/66: gnu: ruby-rspec-its: Enable tests., guix-commits, 2019/02/14
- 10/66: gnu: ruby-cucumber-core: Update to 3.2.1., guix-commits, 2019/02/14
- 09/66: gnu: Add ruby-cucumber-tag-expressions., guix-commits, 2019/02/14
- 11/66: gnu: ruby-gherkin: Update to 5.1.0., guix-commits, 2019/02/14
- 12/66: gnu: Add ruby-cucumber and ruby-aruba., guix-commits, 2019/02/14
- 20/66: gnu: Add ruby-rest-client., guix-commits, 2019/02/14
- 22/66: gnu: Add ruby-ast., guix-commits, 2019/02/14
- 33/66: gnu: ruby-addressable: Enable tests and update., guix-commits, 2019/02/14
- 18/66: gnu: Add ruby-crack.,
guix-commits <=
- 17/66: gnu: Add ruby-hashdiff., guix-commits, 2019/02/14
- 31/66: gnu: ruby-public-suffix: Enable tests., guix-commits, 2019/02/14
- 32/66: gnu: Add ruby-idn-ruby., guix-commits, 2019/02/14
- 24/66: gnu: Add ruby-parser., guix-commits, 2019/02/14
- 16/66: gnu: Add ruby-racc., guix-commits, 2019/02/14
- 21/66: gnu: Add ruby-bacon-colored-output., guix-commits, 2019/02/14
- 23/66: gnu: Add ruby-cliver., guix-commits, 2019/02/14
- 19/66: gnu: Add ruby-webmock., guix-commits, 2019/02/14
- 29/66: gnu: ruby-minitest: Update to 5.11.3., guix-commits, 2019/02/14
- 26/66: gnu: Add ruby-jaro-winkler., guix-commits, 2019/02/14