guix-devel/guix/build-system
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
..
android-ndk.scm gnu: android-make-stub: Update to 0.6.0. 2018-05-10 15:35:28 +02:00
ant.scm guix: ant-build-system: Add #:test-include and #:test-exclude arguments. 2017-10-03 21:38:23 +02:00
asdf.scm build-system/asdf: 'package-with-build-system' accesses inputs lazily. 2019-01-09 15:01:40 +01:00
cargo.scm import: crate: Separate crates.io API from actual conversion. 2019-09-04 13:02:27 +02:00
clojure.scm build-system: clojure-build-system: Fix %default-clojure location. 2018-11-24 16:25:55 +01:00
cmake.scm build-system/cmake: Add support for cross compilation. 2017-05-30 16:52:55 +02:00
dub.scm Adjust all users of (gnu packages ldc) to use (gnu packages dlang). 2018-09-10 15:44:32 -04:00
dune.scm guix: dune-build-system: Add a package parameter. 2019-03-23 22:58:52 +01:00
emacs.scm build-system: emacs: Add improved check phase. 2018-04-20 00:49:53 +05:30
font.scm gnu: Move contents of zip module into compression module. 2017-06-20 18:10:35 +05:30
glib-or-gtk.scm build-system/glib-or-gtk: Support #:disallowed-references. 2019-03-15 23:27:58 +01:00
gnu.scm build-system/gnu: Check whether the cross-libc has a "static" output. 2017-12-21 10:46:24 +01:00
go.scm build-system/go: Build with a filesystem union of Go dependencies. 2019-03-14 15:34:26 -04:00
guile.scm build-system/guile: Add #:not-compiled-file-regexp. 2019-06-02 22:01:34 +02:00
haskell.scm build-system: haskell: Add #:cabal-revision argument. 2018-10-01 12:12:08 +02:00
linux-module.scm build-system/linux-module: Support module source versioning. 2019-04-12 00:13:34 +02:00
meson.scm build-system/meson: Add #:allowed-references and #:disallowed-references. 2019-03-21 19:23:47 +01:00
minify.scm build-system: minify: Do not import (ice-9 popen) in the build environment. 2018-03-12 15:14:01 +01:00
node.scm Revert "guix: node-build-system: Use guile-json instead of a custom parser." 2019-07-14 20:18:07 +02:00
ocaml.scm gnu: ocaml@4.02: Remove the package, affected by a CVE, and its dependent 2019-04-25 19:01:31 +02:00
perl.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
python.scm import: pypi: Update the host URI. 2019-07-02 10:08:00 +09:00
r.scm build-system/r: bioconductor-uri: Take optional package type. 2019-08-16 15:07:22 +02:00
rakudo.scm build: Add rakudo-build-system. 2019-03-23 22:26:48 +02:00
ruby.scm build: ruby: Rewrite build system to use gem archives. 2015-08-18 17:58:13 -04:00
scons.scm guix: scons: Fix module reference. 2019-01-15 18:15:07 +01:00
texlive.scm build-system/texlive: Add texlive-origin. 2019-07-23 21:43:24 +02:00
trivial.scm build-system/trivial: Add support for #:allowed-references. 2018-02-28 22:47:42 +01:00
waf.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00