diff options
author | Martin Becze <mjbecze@riseup.net> | 2019-09-09 11:36:04 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-10 00:34:40 +0200 |
commit | fd63ecbe050bf8fa7c8ff0a003d56cce97b6ded1 (patch) | |
tree | f39aa889848227be7f1ea76d22d380d0c8c7ab9a /guix/records.scm | |
parent | 7c101c4c175b7abcb43279d1c66b41a91b9c64bc (diff) |
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: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/records.scm')
0 files changed, 0 insertions, 0 deletions