959c9d159d
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> |
||
---|---|---|
.. | ||
accounts.scm | ||
base16.scm | ||
base32.scm | ||
base64.scm | ||
bournish.scm | ||
build-utils.scm | ||
builders.scm | ||
cache.scm | ||
challenge.scm | ||
channels.scm | ||
combinators.scm | ||
containers.scm | ||
cpan.scm | ||
cpio.scm | ||
cran.scm | ||
crate.scm | ||
cve-sample.xml | ||
cve.scm | ||
debug-link.scm | ||
derivations.scm | ||
discovery.scm | ||
elpa.scm | ||
file-systems.scm | ||
gem.scm | ||
gexp.scm | ||
glob.scm | ||
gnu-maintenance.scm | ||
grafts.scm | ||
graph.scm | ||
gremlin.scm | ||
guix-archive.sh | ||
guix-authenticate.sh | ||
guix-build-branch.sh | ||
guix-build.sh | ||
guix-daemon.sh | ||
guix-describe.sh | ||
guix-download.sh | ||
guix-environment-container.sh | ||
guix-environment.sh | ||
guix-gc.sh | ||
guix-graph.sh | ||
guix-hash.sh | ||
guix-lint.sh | ||
guix-pack-localstatedir.sh | ||
guix-pack-relocatable.sh | ||
guix-pack.sh | ||
guix-package-aliases.sh | ||
guix-package-net.sh | ||
guix-package.sh | ||
guix-system.sh | ||
hackage.scm | ||
import-utils.scm | ||
inferior.scm | ||
lint.scm | ||
lzlib.scm | ||
modules.scm | ||
monads.scm | ||
nar.scm | ||
opam.scm | ||
pack.scm | ||
packages.scm | ||
pki.scm | ||
print.scm | ||
processes.scm | ||
profiles.scm | ||
publish.scm | ||
pypi.scm | ||
records.scm | ||
scripts-build.scm | ||
scripts.scm | ||
search-paths.scm | ||
services.scm | ||
sets.scm | ||
signing-key.pub | ||
signing-key.sec | ||
size.scm | ||
snix.scm | ||
status.scm | ||
store-database.scm | ||
store-deduplication.scm | ||
store-roots.scm | ||
store.scm | ||
substitute.scm | ||
syscalls.scm | ||
system.scm | ||
test.drv | ||
texlive.scm | ||
ui.scm | ||
union.scm | ||
upstream.scm | ||
utils.scm | ||
uuid.scm | ||
workers.scm | ||
zlib.scm |