summary refs log tree commit diff
path: root/graph.js
diff options
context:
space:
mode:
authorMartin Becze <mjbecze@riseup.net>2019-09-09 11:36:04 -0400
committerLudovic Courtès <ludo@gnu.org>2019-09-10 00:34:40 +0200
commitfd63ecbe050bf8fa7c8ff0a003d56cce97b6ded1 (patch)
treef39aa889848227be7f1ea76d22d380d0c8c7ab9a /graph.js
parent7c101c4c175b7abcb43279d1c66b41a91b9c64bc (diff)
downloadguix-fd63ecbe050bf8fa7c8ff0a003d56cce97b6ded1.tar.gz
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 'graph.js')
0 files changed, 0 insertions, 0 deletions