diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-21 14:36:14 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-21 14:44:41 +0200 |
commit | d882c235d9878b8f61376bd4b4f21be885489818 (patch) | |
tree | de5f184a8d255e06838acb2aea8fe19740575b9d /guix/scripts | |
parent | 577e75058066579bc66037c4ac08f3870520b79a (diff) |
import: cran: Add updater.
* guix/import/cran.scm (downloads->url, nodes->text): New procedures.
(cran-sxml->sexp): Use them. Remove equivalent local code.
(latest-release, cran-package?): New procedures.
(%cran-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %CRAN-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention CRAN.
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/refresh.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm index 99fdc2ca65..6f7ca4a41b 100644 --- a/guix/scripts/refresh.scm +++ b/guix/scripts/refresh.scm @@ -28,6 +28,7 @@ #:use-module (guix upstream) #:use-module ((guix gnu-maintenance) #:select (%gnu-updater)) #:use-module (guix import elpa) + #:use-module (guix import cran) #:use-module (guix gnupg) #:use-module (gnu packages) #:use-module ((gnu packages commencement) #:select (%final-inputs)) @@ -139,7 +140,8 @@ specified with `--select'.\n")) (define %updaters ;; List of "updaters" used by default. They are consulted in this order. (list %gnu-updater - %elpa-updater)) + %elpa-updater + %cran-updater)) (define (lookup-updater name) "Return the updater called NAME." |