diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-12-09 10:21:23 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-12-09 10:56:35 -0800 |
| commit | 35d44bb666fac8706231687c573650efd8b165e9 (patch) | |
| tree | a1efed44604b575bac109ba2f2422ba38ffba330 /pandoc-cli | |
| parent | c2c45f1c6aa77329b212577c7a664ff44ffb6b5d (diff) | |
Link pandoc-cli version to pandoc version.
Henceforth pandoc-cli's version will be synchronized with pandoc's, and
pandoc-cli will depend on an exact pandoc version.
This will avoid confusion by ensuring that `cabal install pandoc-cli-X.Y.Z`
installs pandoc version X.Y.Z. It will make things more straightforward
for upstream packagers (see #9232).
Note also that the man pages included in this package are for a specific
pandoc version.
This scheme does not follow the Haskell PVP, but that should cause no
harm, because this package does not expose a library.
Diffstat (limited to 'pandoc-cli')
| -rw-r--r-- | pandoc-cli/pandoc-cli.cabal | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pandoc-cli/pandoc-cli.cabal b/pandoc-cli/pandoc-cli.cabal index 38b93573a..e18699571 100644 --- a/pandoc-cli/pandoc-cli.cabal +++ b/pandoc-cli/pandoc-cli.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: pandoc-cli -version: 0.1.1.1 +version: 3.1.9 build-type: Simple license: GPL-2.0-or-later license-file: COPYING.md @@ -68,7 +68,9 @@ executable pandoc hs-source-dirs: src main-is: pandoc.hs buildable: True - build-depends: pandoc >= 3.0, + -- Note: we always link to an exact version of pandoc, with the + -- same version as this package: + build-depends: pandoc == 3.1.9, text other-modules: PandocCLI.Lua , PandocCLI.Server @@ -87,7 +89,7 @@ executable pandoc if flag(lua) build-depends: hslua-cli >= 1.4.1 && < 1.5, - pandoc-lua-engine >= 0.2 && < 0.3, + pandoc-lua-engine >= 0.2.1 && < 0.3, temporary >= 1.1 && < 1.4 hs-source-dirs: lua else |
