Files
pandoc/stack.yaml
John MacFarlane 317ba697c4 Use yamlet for YAML parsing.
Pandoc parsed YAML with the yaml package, which depends on the C
library libyaml. It now uses yamlet, a pure Haskell YAML 1.2 parser.
Values still go through the existing aeson instances.

Behavior changes:

- YAML errors show the file, the line and the column, with the
  offending line. In metadata blocks the line is the line in the
  document.
- `yes`, `no`, `on`, `off`, `y` and `n` are strings,
  not booleans, as in YAML 1.2. This restores the behavior before
  the switch from HsYAML.
- Duplicate keys in a mapping are an error. They were a warning.
- .5, .inf and .nan are numbers.

Text.Pandoc.Translations: readTranslations takes the path of the
file, for error messages [API change].
2026-10-13 08:19:53 -07:00

61 lines
1.3 KiB
YAML

flags:
pandoc:
embed_data_files: true
QuickCheck:
old-random: false
allow-newer: true
allow-newer-deps:
# This needs zip-archive 0.5
- hslua-module-zip
# These need to allow doclayout 0.6
- gridtables
- hslua-module-doclayout
packages:
- '.'
- 'pandoc-cli'
- 'pandoc-lua-engine'
- 'pandoc-server'
extra-deps:
- hslua-2.5.0
- hslua-module-doclayout-1.2.1.1
- hslua-module-path-1.2.0
- hslua-module-text-1.2.0
- hslua-module-system-1.3.0
- hslua-module-version-1.2.0.1
- hslua-module-zip-1.2.1
- hslua-objectorientation-2.5.0
- hslua-packaging-2.4.1
- hslua-typing-0.2.0
- skylighting-format-blaze-html-0.1.2.2
- skylighting-0.15
- skylighting-core-0.15
- typst-symbols-0.3
- zip-archive-0.5
- doclayout-0.6
- doctemplates-0.11.1
- asciidoc-0.1.1.1
- commonmark-0.3.1
- commonmark-pandoc-0.3.0.2
- commonmark-extensions-0.2.7.3
- djot-0.1.4.3
- typst-0.12
- texmath-0.13.3.1
- citeproc-0.14.1
- yamlet-1.0.0.1
- yamlet-aeson-1.0.0.1
# yamlet and yamlet-aeson need newer versions than the snapshot has:
- aeson-2.2.5.1
- scientific-0.3.9.0
- text-iso8601-0.1.1.2
# needed because not yet in nixpkgs:
- pandoc-types-1.23.1.2
# needed because not yet in nixpkgs:
- emojis-0.1.5
ghc-options:
"$locals": -fhide-source-paths -Wno-missing-home-modules
resolver: lts-24.51
nix:
packages:
- pkg-config
- zlib