cabal-version: 2.0

-- Initial package description 'adiff.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/
name: adiff

version: 0.1.0.0

synopsis: Arbitrary-tokenization diff, patch and merge

-- A longer description of the package.
-- description:

-- A URL where users can report bugs.
-- bug-reports:

-- The license under which the package is released.
license: LGPL-3

-- The file containing the license text.
license-file: LICENSE

-- The package author(s).
author: Mirek Kratochvil

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: exa.exa@gmail.com

-- A copyright notice.
-- copyright:

category: Text

build-type: Simple

-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files: CHANGELOG.md

executable adiff
  -- .hs or .lhs file containing the Main module.
  main-is: Main.hs

  -- Modules included in this executable, other than Main.
  other-modules: Diff,
                 Diff3,
                 Format,
                 Hunks,
                 Merge,
                 Patch,
                 Redfa,
                 Substr,
                 Types,
                 Version

  -- LANGUAGE extensions used by modules in this package.
  other-extensions: CPP

  -- Other library packages from which modules are imported.
  build-depends: base ^>=4.13.0.0,
                 extra ^>= 1.7,
                 mmap ^>=0.5,
                 regex-tdfa ^>= 1.3,
                 optparse-applicative ^>=0.16,
                 bytestring ^>= 0.10.12,
                 vector ^>=0.12,
                 utf8-string ^>=1.0

  -- Directories containing source files.
  hs-source-dirs: src

  -- Base language which the package is written in.
  default-language: Haskell2010