guix-devel/guix
Robert Vollmert 959c9d159d
import: hackage: Parse braced properties.
This adds partial support for Cabal properties that use curly
braces instead of the layout rule.  See for example
https://hackage.haskell.org/package/cassava/

* guix/import/cabal.scm (read-braced-value): New procedure.
(is-property): Remove.
(is-layout-property, is-braced-property): New variables.
(lex-property): Rename to...
(lex-layout-property): ... this.
(lex-braced-property, lex-property): New procedures.
(lex-token): Add call to 'lex-property'.
* guix/tests/hackage.scm: Test braced description import.
* tests/hackage.scm (test-cabal-multiline-desc): Rename to...
(test-cabal-multiline-layout): ... this.
("hackage->guix-package test multiline desc"): Rename to...
("hackage->guix-package test multiline desc (layout)"): ... this.
(test-cabal-multiline-braced): New variable.
("hackage->guix-package test multiline desc (braced)"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:16:05 +02:00
..
build build-system/guile: Display progress report as expected by (guix status). 2019-06-02 22:01:34 +02:00
build-system build-system/guile: Add #:not-compiled-file-regexp. 2019-06-02 22:01:34 +02:00
import import: hackage: Parse braced properties. 2019-06-02 22:16:05 +02:00
scripts substitute: Select the best compression methods. 2019-06-02 22:01:57 +02:00
store gnu, guix: Yearly ritual purging of the filesystems. 2019-04-25 04:42:16 +02:00
tests
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm Add (guix bzr-download). 2019-05-09 00:22:37 -04:00
cache.scm
channels.scm pull: '--url', '--commit', and '--branch' apply to the 'guix' channel. 2019-04-17 13:56:40 +02:00
ci.scm
colors.scm
combinators.scm
config.scm.in Add (guix lzlib). 2019-05-06 23:21:33 +02:00
cpio.scm
cve.scm
cvs-download.scm
deprecation.scm
derivations.scm derivations: Reduce 'valid-path?' RPCs in 'derivation-prerequisites-to-build'. 2019-04-16 17:30:21 +02:00
describe.scm
discovery.scm discovery: 'all-modules' returns modules in path order. 2019-05-26 23:02:02 +02:00
docker.scm docker: 'build-docker-image' accepts an optional #:entry-point. 2019-05-15 16:36:21 +02:00
download.scm store: Memoize 'built-in-builders' call directly in <store-connection>. 2019-04-16 17:30:21 +02:00
elf.scm
ftp-client.scm
gexp.scm
git-download.scm
git.scm
glob.scm
gnu-maintenance.scm gnu-maintenance: Update URL for package databases. 2019-05-12 23:15:13 +02:00
gnupg.scm
grafts.scm
graph.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm
licenses.scm
lzlib.scm lzlib: 'make-lzip-input-port' better handles end of decompression. 2019-06-01 15:26:30 +02:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm
pki.scm
profiles.scm
profiling.scm
progress.scm progress: Provide the proper type for %PROGRESS-INTERVAL. 2019-06-02 01:38:36 +02:00
records.scm
scripts.scm
search-paths.scm
self.scm self: Fix unquoting. 2019-05-28 23:21:27 +02:00
serialization.scm
sets.scm
ssh.scm
status.scm
store.scm store: Fix 'hash-part->path' docstring. 2019-05-26 01:34:17 +02:00
svn-download.scm
swh.scm
tests.scm lzlib: Add 'make-lzip-input-port/compressed'. 2019-05-27 22:47:24 +02:00
ui.scm ui: Make package outputs searchable. 2019-05-09 00:10:34 -07:00
upstream.scm
utils.scm utils: Support compression and decompression with lzip. 2019-05-27 22:47:24 +02:00
workers.scm
zlib.scm