guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add ruby-hashie


From: Marius Bakke
Subject: Re: [PATCH] gnu: Add ruby-hashie
Date: Mon, 21 Nov 2016 19:04:18 +0100
User-agent: Notmuch/0.23.1 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu)

Frederick Muriithi <address@hidden> writes:

> 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.

I've come across similar problems in some python packages, where the
pypi release does not have tests enabled. In those cases I think it's
acceptable to package the git snapshots, assuming they are properly
tagged with version. Could you try that? Thanks!

>
> -- 
> Frederick M. Muriithi
> From aaefbb774a2c0aac4d80ca686bd4b3fbc55ccb1d Mon Sep 17 00:00:00 2001
> From: Muriithi Frederick Muriuki <address@hidden>
> 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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]