summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2015-06-16 10:50:06 +0200
committerFederico Beffa <beffa@fbengineering.ch>2015-07-08 10:53:05 +0200
commit7f74a931ddccdb3b42558f8f8ee29b309d9231b9 (patch)
tree1804fcf24967f92cd15e4ee3c2ac13e5091bb8dd /doc
parent575b4b092d73403381277625794042a7b7253cfe (diff)
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'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 284d667f34e..d10279e992f 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:
3856@example 3856@example
3857guix import hackage mtl-2.1.3.1 3857guix import hackage mtl-2.1.3.1
3858@end example 3858@end example
3859
3860@item elpa
3861@cindex elpa
3862Import meta-data from an Emacs Lisp Package Archive (ELPA) package
3863repository (@pxref{Packages,,, emacs, The GNU Emacs Manual}).
3864
3865Specific command-line options are:
3866
3867@table @code
3868@item --archive=@var{repo}
3869@itemx -a @var{repo}
3870@var{repo} identifies the archive repository from which to retrieve the
3871information. Currently the supported repositories and their identifiers
3872are:
3873@itemize -
3874@item
3875@uref{"http://elpa.gnu.org/packages", GNU}, selected by the @code{gnu}
3876identifier. This is the default.
3877
3878@item
3879@uref{"http://stable.melpa.org/packages", MELPA-Stable}, selected by the
3880@code{melpa-stable} identifier.
3881
3882@item
3883@uref{"http://melpa.org/packages", MELPA}, selected by the @code{melpa}
3884identifier.
3885@end itemize
3886@end table
3859@end table 3887@end table
3860 3888
3861The structure of the @command{guix import} code is modular. It would be 3889The structure of the @command{guix import} code is modular. It would be