diff options
author | Ivan Petkov <ivanppetkov@gmail.com> | 2019-05-17 00:26:07 -0700 |
---|---|---|
committer | Chris Marusich <cmmarusich@gmail.com> | 2019-06-11 18:05:44 -0700 |
commit | 5a9ef8a960706a55764f5bbc67ac83dd48516016 (patch) | |
tree | c7f278e3235af5777e62bc13b3845ca4050d0589 /guix/build | |
parent | 8a290772a45fd56cb5e85cb718ce654dddb54ea6 (diff) | |
download | guix-patches-5a9ef8a960706a55764f5bbc67ac83dd48516016.tar guix-patches-5a9ef8a960706a55764f5bbc67ac83dd48516016.tar.gz |
import: crate: Define dependencies as arguments.
* guix/import/crate.scm:
(crate-fetch)[input-crates]: Rename to dev-crates.
[native-input-crates]: Rename to dev-dep-crates.
[inputs]: Rename to cargo-inputs.
[native-inputs]: Rename to cargo-development-inputs.
(maybe-cargo-inputs, maybe-cargo-development-inputs, maybe-arguments): Add
them.
(make-crate-sexp)[inputs]: Rename to cargo-inputs.
[native-inputs]: Rename to cargo-development-inputs.
[maybe-native-inputs, maybe-inputs]: Replace with maybe-arguments.
* guix/import/utils.scm: (package-names->package-inputs): Make public. Add
docstring.
* tests/crate.scm (crate->guix-package): Update the match pattern.
Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
Diffstat (limited to 'guix/build')
0 files changed, 0 insertions, 0 deletions