summary refs log tree commit diff
path: root/tests/cran.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-06-30 15:42:09 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-11 00:49:16 +0200
commitaa6921634b4ea9988af0e37bfbb56780c431ef64 (patch)
tree2e0d17f669af44da001cb101ea4b7b8ba888371b /tests/cran.scm
parent52a9a0712abb2a2b02e5747d118fecff95d92366 (diff)
downloadguix-aa6921634b4ea9988af0e37bfbb56780c431ef64.tar.gz
import: cran: Emit new-style package inputs.
* guix/import/cran.scm (format-inputs): Emit symbols or
'specification->package' calls.
(maybe-inputs): Wrap in 'list' instead of 'quasiquote'.
* tests/cran.scm ("description->package"): Adjust accordingly.
Diffstat (limited to 'tests/cran.scm')
-rw-r--r--tests/cran.scm10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/cran.scm b/tests/cran.scm
index 70d2277198..e59b7daef7 100644
--- a/tests/cran.scm
+++ b/tests/cran.scm
@@ -117,15 +117,9 @@ Date/Publication: 2015-07-14 14:15:16
                       (? string? hash)))))
          ('properties ('quasiquote (('upstream-name . "My-Example"))))
          ('build-system 'r-build-system)
-         ('inputs
-          ('quasiquote
-           (("cairo" ('unquote 'cairo)))))
+         ('inputs ('list 'cairo))
          ('propagated-inputs
-          ('quasiquote
-           (("r-bh" ('unquote 'r-bh))
-            ("r-proto" ('unquote 'r-proto))
-            ("r-rcpp" ('unquote 'r-rcpp))
-            ("r-scales" ('unquote 'r-scales)))))
+          ('list 'r-bh 'r-proto 'r-rcpp 'r-scales))
          ('home-page "http://gnu.org/s/my-example")
          ('synopsis "Example package")
          ('description