summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2018-02-05 11:44:21 +0100
committerChristopher Baines <mail@cbaines.net>2018-12-31 09:46:23 +0000
commitcc87ea8a4b8ac29d70d62112895bb262305aaa68 (patch)
tree7dbd6da764c2f3bcf30d7a89ffc6dd368c9cf122 /gnu/packages
parent9deb6c6ee0c6ab428dc280428fc8b7ea514f415a (diff)
downloadgnu-guix-cc87ea8a4b8ac29d70d62112895bb262305aaa68.tar
gnu-guix-cc87ea8a4b8ac29d70d62112895bb262305aaa68.tar.gz
gnu: Add ruby-crack.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 677d39800d..cea020a87c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -907,6 +907,37 @@ format.")
"http://github.com/egonSchiele/contracts.ruby")
(license #f)))
+(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 _
+ (zero? (length
+ (filter (lambda (file)
+ (display file)(display "\n")
+ (not (zero? (system* "ruby" file))))
+ (find-files "spec" ".*rb$")))))))))
+ (propagated-inputs
+ `(("ruby-safe-yaml" ,ruby-safe-yaml)))
+ (synopsis
+ "Really simple JSON and XML parsing, ripped from Merb and Rails.")
+ (description
+ "Really simple JSON and XML parsing, ripped from Merb and Rails.")
+ (home-page "http://github.com/jnunemaker/crack")
+ (license license:expat)))
+
(define-public ruby-czmq-ffi-gen
(package
(name "ruby-czmq-ffi-gen")