guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add rubygems updater.


From: Ricardo Wurmus
Subject: Re: [PATCH] Add rubygems updater.
Date: Tue, 5 Jan 2016 15:56:31 +0100

Ben Woodcroft <address@hidden> writes:

>>> We could even default this to the expected name of the library guessed
>>> from the name of the package when #:import is not given. However, this
>>> would unfortunately break packages that have been written outside of
>>> Guix, so I imagine you don't feel this is a good idea.
>> We could choose the package name as a default value, but often that’s
>> not going to work, notably because of the “ruby-” prefix.
>>
>> WDYT?
> Removing the "ruby-" from the package name sounds like a reasonable 
> default, but won't work every time because some imports use underscores 
> where some use dashes e.g. "minitest-pretty_diff".

For R packages we’re using something like this

        (properties `((upstream-name . "gridExtra")))

to hold the upstream name.  The Guix package is called “r-gridextra”.
Maybe that’s acceptable for Ruby packages too?

~~ Ricardo



reply via email to

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