From 3d43b7aef3d5b7ad2ba0418d2afd657e5fedeaf5 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 20 Jan 2021 11:35:10 +0100 Subject: import, swh: Adjust to Guile-JSON 4.5.x unspecified value handling. * guix/import/cpan.scm ()[home-page]: Add 'unspecified?' case. * guix/import/gem.scm ()[licenses]: Likewise. (json->gem-dependency-list): Likewise. * guix/swh.scm ()[checksums]: Likewise. --- guix/swh.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'guix/swh.scm') diff --git a/guix/swh.scm b/guix/swh.scm index 0b765cc743..f11b7ea2d5 100644 --- a/guix/swh.scm +++ b/guix/swh.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2018, 2019, 2020 Ludovic Courtès +;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès ;;; Copyright © 2020 Jakub Kądziołka ;;; ;;; This file is part of GNU Guix. @@ -348,6 +348,7 @@ FALSE-IF-404? is true, return #f upon 404 responses." (checksums directory-entry-checksums "checksums" (match-lambda (#f #f) + ((? unspecified?) #f) (lst (json->checksums lst)))) (id directory-entry-id "dir_id") (length directory-entry-length) -- cgit v1.2.3