On Wed, Sep 04, 2019 at 04:20:46AM -0700, Martin Becze wrote:
> Hello,
> I'm wokring on the crate importer. It currently doesn't support
> versioning of dependancies and just always uses the latest version of a
> given crate. Of course this would break main rust packages, so i'm
> trying to add version support. To do this I need to be able it find a
> dependancy in a specified semantic version range and to do this I'm
> attempting to use a guile module
> (https://ngyro.com/software/guile-semver/). Is it possible to package
> this module then use it in an importer? Or should I just put the modules
> code directly in the `guix/import` ?
> 

Although not actually answering your question, what about modifying the
crate importer to allow for getting a specific version? For example
'guix import crate addr2line/0.9' or '/0.9.0'. I think it works with the
pypi importer, but I haven't inspected the code to see if that's on
purpose or a happy accident.

-- 
Efraim Flashner   <efr...@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature

Reply via email to