The Nexus Repository ELPA format allows the Emacs Lisp Package Archive to be proxied and cached. This includes compatible third-party repositories such as http://melpa.org/ and https://marmalade-repo.org/.
To proxy an ELPA repository, you simply create a new 'elpa (proxy)' as documented in Repository Management in details. Minimal configuration steps are:
- Define 'Name'
- Define URL for 'Remote storage' e.g. http://elpa.gnu.org/packages/
- Select a 'Blob store' for 'Storage'
To configure Emacs to use Nexus Repository as a Proxy for remote ELPA sites, add
it to package-archives
variable in your .emacs file:
(require 'package)
(setq package-archives '(("nexus" . "http://localhost:8081/repository/elpa-proxy/")))
(package-initialize)
After restarting emacs, running package commands such as list-packages
should route through Nexus.
You can browse ELPA repositories in the user interface inspecting the components and assets and their details, as described in Browsing Repositories and Repository Groups.