guix-devel/guix
Ludovic Courtès 2791870d09
import: crate: Separate crates.io API from actual conversion.
This provides a clean separation between bindings to the
https://crates.io/api/v1 API and actual conversion to Guix package
sexps.

As a side-effect, it fixes things like "guix import blake2-rfc", "guix
refresh -t crates", etc.

* guix/import/crate.scm (<crate>, <crate-version>, <crate-dependency>):
New record types.
(lookup-crate, crate-version-dependencies): New procedures.
(crate-fetch): Remove.
(crate->guix-package): Rewrite to use the new API.
(latest-release): Likewise.
* guix/build-system/cargo.scm (%crate-base-url): New variable.
* tests/crate.scm (test-crate): Update accordingly.

fixlet
2019-09-04 13:02:27 +02:00
..
build build/cargo-build-system: Use invoke. 2019-09-02 11:07:53 +03:00
build-system import: crate: Separate crates.io API from actual conversion. 2019-09-04 13:02:27 +02:00
import import: crate: Separate crates.io API from actual conversion. 2019-09-04 13:02:27 +02:00
scripts deploy: Add missing store options. 2019-09-04 13:02:27 +02:00
store
tests tests: 'with-http-server' accepts multiple responses. 2019-09-02 15:25:01 +02:00
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm
base64.scm
build-system.scm
bzr-download.scm
cache.scm
channels.scm channels: Add 'profile-channels'. 2019-08-16 23:00:26 +02:00
ci.scm ci: Use (guix json) and adjust for Guile-JSON 3.x. 2019-09-04 13:02:27 +02:00
colors.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
deprecation.scm
derivations.scm derivations: Fix typo in docstring. 2019-08-17 19:26:10 +02:00
describe.scm
diagnostics.scm diagnostics: Avoid highlighting complete messages. 2019-08-28 18:52:52 +02:00
discovery.scm discovery: 'scheme-files' ignores hidden files. 2019-07-26 21:49:25 +02:00
docker.scm docker: Take a list of directives instead of a list of symlinks. 2019-08-27 12:20:44 +02:00
download.scm download: Use the new 'derivation' calling convention. 2019-07-15 10:01:05 +02:00
elf.scm
ftp-client.scm
gexp.scm gexp: 'program-file' honors the current system and cross-compilation target. 2019-07-26 23:50:12 +02:00
git-download.scm swh: 'swh-download' prints debugging info. 2019-08-28 18:52:51 +02:00
git.scm git: 'switch-to-ref' resolves tag targets. 2019-07-26 11:21:36 +02:00
glob.scm
gnu-maintenance.scm gnu-maintenance: Switch to ftp.mirrorservice.org for KDE updater. 2019-06-10 13:58:24 +02:00
gnupg.scm
grafts.scm grafts: 'references-oracle' now takes a derivation input. 2019-07-02 18:33:51 +02:00
graph.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm inferior: Add 'read-repl-response'. 2019-07-04 18:05:02 +02:00
json.scm Add (guix json). 2019-09-04 13:02:27 +02:00
licenses.scm licenses: Add Historical Permission Notice and Disclaimer license 2019-06-20 18:24:49 +02:00
lint.scm lint: Add 'archival' checker. 2019-09-02 15:25:01 +02:00
lzlib.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm nar: Really lock store files. 2019-06-05 23:10:37 +02:00
packages.scm packages: Apply target triplet in bag-transitive-host-inputs. 2019-08-26 09:40:17 -04:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
profiles.scm profiles: Adjust packages->manifest pattern for inferior packages. 2019-07-03 12:03:07 +02:00
profiling.scm
progress.scm progress: Call 'time-difference' on times of the same type. 2019-06-24 23:10:13 +02:00
records.scm
remote.scm remote, ssh: Show the command exit status upon failure. 2019-08-28 18:52:52 +02:00
repl.scm Add (guix repl). 2019-07-04 18:05:02 +02:00
scripts.scm
search-paths.scm
self.scm maint: Switch to Guile-JSON 3.x. 2019-07-25 00:16:41 +02:00
serialization.scm
sets.scm
ssh.scm remote, ssh: Show the command exit status upon failure. 2019-08-28 18:52:52 +02:00
status.scm
store.scm store: 'run-with-store' gracefully deals with #f store. 2019-07-05 00:51:17 +02:00
svn-download.scm guix: Add svn-multi-reference. 2019-07-23 21:43:24 +02:00
swh.scm Add (guix json). 2019-09-04 13:02:27 +02:00
tests.scm
ui.scm ui: 'warn-about-load-error' provides hints for unbound variables. 2019-07-20 01:32:17 +02:00
upstream.scm upstream: Gracefully handle archive type changes. 2019-08-17 23:18:11 +02:00
utils.scm utils: canonical-newline-port: Fix handling of carriage return at buffer end. 2019-06-20 14:07:01 +02:00
workers.scm
zlib.scm