Added new variable ruby-hashie Tests deactivated, since the gem seems to not have the Gemfile present, leading to failure. Checking out the repository manually and running rake in it, runs all tests successfully.
If this is not acceptable, please let me know, and any pointers to correct the issues would be appreciated. -- Frederick M. Muriithi
From aaefbb774a2c0aac4d80ca686bd4b3fbc55ccb1d Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki <[email protected]> Date: Mon, 21 Nov 2016 18:12:18 +0300 Subject: [PATCH] gnu: Add ruby-hashie. * gnu/packages/ruby.scm (ruby-hashie): New variable. --- gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1abea02..d8c36be 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4221,3 +4221,29 @@ RFC 2617. This enables the use of the digest authentication scheme instead of the more insecure basic authentication scheme.") (home-page "http://github.com/drbrain/net-http-digest_auth") (license license:expat))) + +(define-public ruby-hashie + (package + (name "ruby-hashie") + (version "3.4.6") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "hashie" version)) + (sha256 + (base32 + "1ny9z0lr8hszx2y2cb07sd6iwvhs9lphl1sqr2vs7bjf7mx8pbcj")))) + (build-system ruby-build-system) + (arguments + ;; Gemfile present in repo, but missing in gem causing test failure during build + `(#:tests? #f)) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec-core" ,ruby-rspec-core))) + (synopsis + "Hashie is a collection of classes and mixins that make hashes more powerful") + (description + "Hashie is a growing collection of tools that extend Hashes and make +them more powerful") + (home-page "https://github.com/intridea/hashie") + (license license:expat))) -- 2.1.4
