import: Add hex.pm importer.
authorHartmut Goebel <h.goebel@crazy-compilers.com>
Fri, 4 Mar 2022 18:32:32 +0000 (19:32 +0100)
committerHartmut Goebel <h.goebel@crazy-compilers.com>
Wed, 15 Jun 2022 08:18:34 +0000 (10:18 +0200)
commit0d9f1f15cb0ce1e71943bff9a68e6839d0eae497
tree448fb02a1b01282e1118e4115ff528a13687f656
parent97586ca1cb25aed9da13c9cc7de152346be0a093
import: Add hex.pm importer.

hex.pm is a package repository for Erlang and Elixir.

* guix/scripts/import.scm (importers): Add "hexpm".
* guix/scripts/import/hexpm.scm, guix/import/hexpm.scm,
  guix/hexpm-download.scm: New files.
* guix/import/utils.scm (source-spec->object): Add "hexpm-fetch" to list of
  fetch methods.
* guix/upstream.scm (package-update/hexpm-fetch): New function.
  (%method-updates) Add it.
* Makefile.am: Add them.
Makefile.am
doc/guix.texi
guix/build-system/rebar.scm
guix/import/hexpm.scm [new file with mode: 0644]
guix/scripts/import.scm
guix/scripts/import/hexpm.scm [new file with mode: 0644]
guix/upstream.scm
tests/hexpm.scm [new file with mode: 0644]