aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts/refresh.scm
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2015-11-03 22:38:49 +0100
committerCyril Roelandt <tipecaml@gmail.com>2015-11-03 23:41:25 +0100
commitbab020d7ca50e4153cf24832d119389a37fa8f63 (patch)
tree2d5f2527027d729b281c91983b1bb9feb2ccc7a5 /guix/scripts/refresh.scm
parent465b61fcd638e9dffe2cdd6d52f36bd692fab9a9 (diff)
downloadgnu-guix-bab020d7ca50e4153cf24832d119389a37fa8f63.tar
gnu-guix-bab020d7ca50e4153cf24832d119389a37fa8f63.tar.gz
import: pypi: add updater
* guix/import/pypi.scm (guix-package->pypi-name, latest-release): New procedures. (%pypi-updater): New variable. * guix/scripts/refresh.scm (%updaters): Add %PYPI-UPDATER. * doc/guix.texi (Invoking guix refresh): Mention PyPI
Diffstat (limited to 'guix/scripts/refresh.scm')
-rw-r--r--guix/scripts/refresh.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 0df4121d0a..3984a0bde1 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -30,6 +30,7 @@
#:use-module ((guix gnu-maintenance) #:select (%gnu-updater))
#:use-module (guix import elpa)
#:use-module (guix import cran)
+ #:use-module (guix import pypi)
#:use-module (guix gnupg)
#:use-module (gnu packages)
#:use-module ((gnu packages commencement) #:select (%final-inputs))
@@ -152,7 +153,8 @@ specified with `--select'.\n"))
;; List of "updaters" used by default. They are consulted in this order.
(list %gnu-updater
%elpa-updater
- %cran-updater))
+ %cran-updater
+ %pypi-updater))
(define (lookup-updater name)
"Return the updater called NAME."