Skip to content
Snippets Groups Projects
Unverified Commit fd63ecbe authored by Martin Becze's avatar Martin Becze Committed by Ludovic Courtès
Browse files

import: crate: Allow imports of a specific version.


* guix/import/crate.scm (crate->guix-package): Add optional 'version'
argument and honor it.
* guix/scripts/import/crate.scm (guix-import-crate): Assume the first
argument is a spec and destructure it with
'package-name->name+version'.  Pass both to 'crate->guix-package'.
* doc/guix.texi (Invoking guix import): Document it.

Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
parent 7c101c4c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment