summary refs log tree commit diff
path: root/tests/gem.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-02-05 15:52:33 +0100
committerLudovic Courtès <ludo@gnu.org>2020-02-05 16:18:58 +0100
commit23db83333568266972e666ee66574db29cdbbdc7 (patch)
tree15b2e2de1405a93927e1db51cfc04ed8770156fb /tests/gem.scm
parent312df1d40cf2d61fc96b32efedc16d958718fc48 (diff)
downloadguix-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/gem.scm')
0 files changed, 0 insertions, 0 deletions