2016-08-06 11:29:27 +00:00
|
|
|
-- Initial hedit.cabal generated by cabal init. For further documentation,
|
|
|
|
-- see http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
-- The name of the package.
|
|
|
|
name: hedit
|
|
|
|
|
|
|
|
-- The package version. See the Haskell package versioning policy (PVP)
|
|
|
|
-- for standards guiding when and how versions should be incremented.
|
|
|
|
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
|
|
|
|
-- PVP summary: +-+------- breaking API changes
|
|
|
|
-- | | +----- non-breaking API additions
|
|
|
|
-- | | | +--- code changes with no API change
|
|
|
|
version: 0.1.0.0
|
|
|
|
|
|
|
|
-- A short (one-line) description of the package.
|
|
|
|
synopsis: Editor for the property list programming language
|
|
|
|
|
|
|
|
-- A longer description of the package.
|
|
|
|
-- description:
|
|
|
|
|
|
|
|
-- URL for the project homepage or repository.
|
2016-08-06 12:12:24 +00:00
|
|
|
-- homepage: hedit.notld
|
2016-08-06 11:29:27 +00:00
|
|
|
|
|
|
|
-- The license under which the package is released.
|
|
|
|
-- license:
|
|
|
|
|
|
|
|
-- The file containing the license text.
|
|
|
|
-- license-file: LICENSE
|
|
|
|
|
|
|
|
-- The package author(s).
|
2016-08-06 12:12:24 +00:00
|
|
|
-- author: prosa
|
2016-08-06 11:29:27 +00:00
|
|
|
|
|
|
|
-- An email address to which users can send suggestions, bug reports, and
|
|
|
|
-- patches.
|
|
|
|
maintainer: prosa@hedit.notld
|
|
|
|
|
|
|
|
-- A copyright notice.
|
|
|
|
-- copyright:
|
|
|
|
|
|
|
|
category: Text
|
|
|
|
|
|
|
|
build-type: Simple
|
|
|
|
|
|
|
|
-- Extra files to be distributed with the package, such as examples or a
|
|
|
|
-- README.
|
2016-08-06 12:12:24 +00:00
|
|
|
extra-source-files: README.txt
|
2016-08-06 11:29:27 +00:00
|
|
|
|
|
|
|
-- Constraint on the version of Cabal needed to build this package.
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
|
|
|
|
executable hedit
|
|
|
|
-- .hs or .lhs file containing the Main module.
|
|
|
|
main-is: Main.hs
|
|
|
|
|
|
|
|
-- Modules included in this executable, other than Main.
|
|
|
|
-- other-modules:
|
|
|
|
|
|
|
|
-- LANGUAGE extensions used by modules in this package.
|
2016-08-06 12:12:24 +00:00
|
|
|
other-extensions: TemplateHaskell
|
2016-08-06 11:29:27 +00:00
|
|
|
|
|
|
|
-- Other library packages from which modules are imported.
|
|
|
|
build-depends: base >=4.7 && <4.8,
|
2016-08-06 12:12:24 +00:00
|
|
|
brick >=0.8 && <0.9, vty >=5.7 && <5.8,
|
|
|
|
text >=1.1 && <1.2,
|
|
|
|
microlens >=0.4 && <0.5, microlens-th >=0.4 && <0.5,
|
2016-08-06 11:29:27 +00:00
|
|
|
-- for Control.Monal.IO.Class
|
2016-08-08 06:27:29 +00:00
|
|
|
transformers >=0.5 && <0.6,
|
2016-08-08 21:47:14 +00:00
|
|
|
directory,
|
|
|
|
text-zipper
|
2016-08-06 11:29:27 +00:00
|
|
|
|
|
|
|
-- Directories containing source files.
|
|
|
|
hs-source-dirs: src, src/App
|
|
|
|
|
|
|
|
-- Base language which the package is written in.
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
-- GHC Options use other-extensions if possible
|
|
|
|
ghc-options: -O3
|
|
|
|
-- concurrency support
|
2016-08-06 12:12:24 +00:00
|
|
|
-rtsopts -with-rtsopts=-N -threaded
|