diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-02-05 15:52:33 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-02-05 16:18:58 +0100 |
commit | 23db83333568266972e666ee66574db29cdbbdc7 (patch) | |
tree | 15b2e2de1405a93927e1db51cfc04ed8770156fb /tests | |
parent | 312df1d40cf2d61fc96b32efedc16d958718fc48 (diff) | |
download | patches-23db83333568266972e666ee66574db29cdbbdc7.tar patches-23db83333568266972e666ee66574db29cdbbdc7.tar.gz |
import: gem: Rewrite to use a JSON mapping to records.
* guix/import/gem.scm (<gem>, <gem-dependencies>, <gem-dependency>): New
record types with JSON mapping.
(json->gem-dependencies): New procedures.
(rubygems-fetch): Use it.
(hex-string->bytevector): Remove.
(make-gem-sexp): Expect HASH to be a bytevector.
(gem->guix-package): Adjust to use the new <gem> data type instead of an
alist.
(latest-release): Likewise.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions