diff options
author | Federico Beffa <beffa@fbengineering.ch> | 2017-02-06 18:19:26 +0100 |
---|---|---|
committer | Federico Beffa <beffa@fbengineering.ch> | 2017-02-09 19:36:08 +0100 |
commit | bc5844d14955c09330d47984d930e1e9aa8c0ee0 (patch) | |
tree | 3f65b7f6b2a9fd588304b1efeaa4628e73b9ec0b /guix/scripts/import.scm | |
parent | 81e0bc1834490a1a8092c75a0733b15c2b407285 (diff) | |
download | gnu-guix-bc5844d14955c09330d47984d930e1e9aa8c0ee0.tar gnu-guix-bc5844d14955c09330d47984d930e1e9aa8c0ee0.tar.gz |
import: Add stackage importer and updater.
* guix/import/stackage.scm: New file.
* guix/scripts/import/stackage.scm: New file.
* Makefile.am (MODULES): Add new files.
* guix/scripts/import.scm (importers): Add "stackage".
* guix/scripts/refresh.scm (%updaters): Add %stackage-updater.
* doc/guix.texi (Invoking 'guix import'): Document the importer.
(Invoking 'guix refresh'): Add stackage to option --type valid values.
* guix/import/hackage.scm (guix-package->hackage-name, hackage-fetch,
hackage-source-url, hackage-cabal-url, hackage-package?): Export them.
Diffstat (limited to 'guix/scripts/import.scm')
-rw-r--r-- | guix/scripts/import.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm index 4d07e0fd69..8c2f705738 100644 --- a/guix/scripts/import.scm +++ b/guix/scripts/import.scm @@ -73,7 +73,8 @@ rather than \\n." ;;; Entry point. ;;; -(define importers '("gnu" "nix" "pypi" "cpan" "hackage" "elpa" "gem" "cran" "crate")) +(define importers '("gnu" "nix" "pypi" "cpan" "hackage" "stackage" "elpa" "gem" + "cran" "crate")) (define (resolve-importer name) (let ((module (resolve-interface |