import: hackage: Refactor parsing code and add new options.
authorFederico Beffa <beffa@fbengineering.ch>
Sun, 26 Apr 2015 09:22:29 +0000 (11:22 +0200)
committerFederico Beffa <beffa@fbengineering.ch>
Tue, 9 Jun 2015 07:48:38 +0000 (09:48 +0200)
commita4154748730b28fd98ff30d968c755c37802a49a
treea2d2375001ab676cf98172aabb139d05762ba45c
parent0705f79c6f45108961b901e50f828a978fa0e4e8
import: hackage: Refactor parsing code and add new options.

* guix/import/cabal.scm: New file.
* guix/import/hackage.scm: Update to use the new Cabal parsing module.
* tests/hackage.scm: Update tests.
* guix/scripts/import/hackage.scm: Add new '--cabal-environment' and '--stdin'
  options.
* doc/guix.texi: ... and document them.
* Makefile.am (MODULES): Add 'guix/import/cabal.scm',
  'guix/import/hackage.scm' and 'guix/scripts/import/hackage.scm'.
  (SCM_TESTS): Add 'tests/hackage.scm'.
Makefile.am
doc/guix.texi
guix/import/cabal.scm [new file with mode: 0644]
guix/import/hackage.scm
guix/scripts/import/hackage.scm
tests/hackage.scm