diff options
author | Christopher Baines <mail@cbaines.net> | 2019-08-06 20:17:28 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-08-21 18:29:30 +0100 |
commit | 01ce7af25add55514f737af48ea6c127bedfde67 (patch) | |
tree | 6558a4b124d998f3c6374faadbe77f931f2f64ec /tests/status.scm | |
parent | 8a3b11d1eb21e54b4f3a3cbceffed8ce2c11512e (diff) | |
download | guix-01ce7af25add55514f737af48ea6c127bedfde67.tar.gz guix-01ce7af25add55514f737af48ea6c127bedfde67.zip |
import: cpan: Adapt for the change to guile-json version 3.
In guile-json version 3, JSON objects are represented as hash tables, rather
than alists.
* guix/import/cpan.scm (string->license): Change the match expression to match
on lists, rather than vectors.
(module->dist-name, cpan-source-url, cpan-version): Change assoc-ref to
hash-ref.
(cpan-module->sexp): Change assoc-ref to hash-ref, and assoc-ref* to
hash-ref*.
* tests/cpan.scm ("source-url-http", "source-url-https"): Convert the alist to
a hash table.
Diffstat (limited to 'tests/status.scm')
0 files changed, 0 insertions, 0 deletions