guix-devel
[Top][All Lists]
Advanced

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

Re: Follow-up on julia import script


From: Simon Tournier
Subject: Re: Follow-up on julia import script
Date: Tue, 07 Mar 2023 12:52:28 +0100

Hi Nicolas,

On Mon, 06 Mar 2023 at 12:23, Nicolas Graves wrote:

> I have a WIP version which should solve the issues of hash and
> native-inputs.

Awesome!


> I still have the two following issues, if someone has a hint:
>
>> - there's a difficulty for defining guix-name->julia-name with the
>>   simple guix/import/utils.scm snake-case. We should define proper
>>   functions to convert without ambiguity from CamelCase to snake-case
>>   and back, and that also encompasses cases like JuMP and OCReract. I
>>   had one option in mind but haven't tested it to get the name in the
>>   url. Or maybe we should have a #:julia-name field in arguments or
>>   properties. WDYT ?

I suggest to track the upstream name with the field ’properties’, e.g.,

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

as it is done for CRAN/Bioconductor importer; see (guix import cran).


>> - readme is full of html junk, I don't know if we can process it to get
>>   pure text output easily in Guile ?

Yeah, I do not know either.

Cheers,
simon



reply via email to

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