Martin Becze 269c1db41b
import: crate: Use guile-semver to resolve module versions.
* guix/import/crate.scm: Add guile-semver as a soft dependency.
  (make-crate-sexp): Don't allow other keys. Add '#:skip-build?' to build
  system args. Pass a VERSION argument to 'cargo-inputs'.
  (crate->guix-package): Use guile-semver to resolve the correct module
  versions. Treat "build" dependencies as normal dependencies.
  (crate-name->package-name): Reuse the procedure 'guix-name' instead of
  duplicating its logic.
* guix/import/utils.scm (package-names->package-inputs): Implement
  handling of (name version) pairs.
* guix/scripts/import/crate.scm (guix-import-crate): Use
  crate-recursive-import instead of duplicate code.
* tests/crate.scm (recursive-import): Change test packages versions to be
  distinguishable. Add version data to the test. Check created symbols, too.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2020-12-02 22:09:23 +01:00
..
2020-11-22 23:36:09 +01:00
2020-11-29 15:08:26 +01:00
2019-12-15 00:34:05 +01:00
2020-07-05 03:15:08 +05:30
2020-10-12 11:28:56 +02:00
2020-07-05 16:07:59 +05:30
2020-10-20 16:30:15 +02:00
2020-10-22 17:10:25 +02:00
2020-04-17 23:36:47 +02:00
2020-11-23 14:10:34 +01:00
2020-11-16 10:26:46 +01:00