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/import/hackage.scm | |
parent | 81e0bc1834490a1a8092c75a0733b15c2b407285 (diff) | |
download | guix-patches-bc5844d14955c09330d47984d930e1e9aa8c0ee0.tar guix-patches-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/import/hackage.scm')
-rw-r--r-- | guix/import/hackage.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm index 9af78ea888..4d01ed23ea 100644 --- a/guix/import/hackage.scm +++ b/guix/import/hackage.scm @@ -37,7 +37,13 @@ #:use-module (guix packages) #:use-module ((guix utils) #:select (call-with-temporary-output-file)) #:export (hackage->guix-package - %hackage-updater)) + %hackage-updater + + guix-package->hackage-name + hackage-fetch + hackage-source-url + hackage-cabal-url + hackage-package?)) (define ghc-standard-libraries ;; List of libraries distributed with ghc (7.10.2). We include GHC itself as |