From 7f74a931ddccdb3b42558f8f8ee29b309d9231b9 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Tue, 16 Jun 2015 10:50:06 +0200 Subject: import: Add 'elpa' importer. * guix/import/elpa.scm: New file. * guix/scripts/import.scm: Add "elpa" to 'importers'. * guix/scripts/import/elpa.scm: New file. * Makefile.am (MODULES): Add 'guix/import/elpa.scm' and 'guix/scripts/import/elpa.scm'. (SCM_TESTS): Add 'tests/elpa.scm'. * doc/guix.texi (Invoking guix import): Document it. * tests/elpa.scm: New file. * po/guix/POTFILES.in: Add 'guix/scripts/import/elpa.scm'. --- doc/guix.texi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 284d667f34..d10279e992 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3856,6 +3856,34 @@ package name by a hyphen and a version number as in the following example: @example guix import hackage mtl-2.1.3.1 @end example + +@item elpa +@cindex elpa +Import meta-data from an Emacs Lisp Package Archive (ELPA) package +repository (@pxref{Packages,,, emacs, The GNU Emacs Manual}). + +Specific command-line options are: + +@table @code +@item --archive=@var{repo} +@itemx -a @var{repo} +@var{repo} identifies the archive repository from which to retrieve the +information. Currently the supported repositories and their identifiers +are: +@itemize - +@item +@uref{"http://elpa.gnu.org/packages", GNU}, selected by the @code{gnu} +identifier. This is the default. + +@item +@uref{"http://stable.melpa.org/packages", MELPA-Stable}, selected by the +@code{melpa-stable} identifier. + +@item +@uref{"http://melpa.org/packages", MELPA}, selected by the @code{melpa} +identifier. +@end itemize +@end table @end table The structure of the @command{guix import} code is modular. It would be -- cgit v1.2.3