Ben Woodcroft <b.woodcr...@uq.edu.au> 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