yi-0.7.2: yi.cabal
name: yi
version: 0.7.2
category: Development, Editor
synopsis: The Haskell-Scriptable Editor
description:
Yi is a text editor written in Haskell and extensible in Haskell. The goal of the Yi project is
to provide a flexible, powerful, and correct editor for haskell hacking.
license: GPL
license-file: LICENSE
author: AUTHORS
maintainer: yi-devel@googlegroups.com
homepage: http://haskell.org/haskellwiki/Yi
bug-reports: https://github.com/yi-editor/yi/issues
Cabal-Version: >= 1.10
tested-with: GHC==7.4.2, GHC==7.6.1
build-type: Simple
data-files:
art/*.png
art/*.pdf
example-configs/*.hs
extra-source-files: src/library/Yi/Lexer/common.hsinc
source-repository head
type: git
location: https://github.com/yi-editor/yi.git
-- Frontends
flag pango
Default: False
Description: "Build with Pango frontend"
flag vty
Default: True
Description: "Build with Vty frontend"
flag scion
Default: False
Description: Use the scion library to provide extra commands that interface with GHC (experimental)
flag ghcAPI
Description: Enable linking with GHC API for advanced features.
Default: False
-- Can be useful to disable; ghc package is difficult to rebuild;
-- * normally not available for profiling.
-- * links against old/new version of bytestring
-- * links against old version of Cabal
-- ...
flag profiling
Default: False
Description:
Runtime binary will be compiled with profiling and RTS
options enabled.
flag testing
Description: bake-in the self-checks
library
hs-source-dirs: src/library
default-language: Haskell2010
if flag(profiling)
CPP-options: -DPROFILING
exposed-modules:
Yi
Yi.Boot
Yi.Buffer
Yi.Buffer.Basic
Yi.Buffer.HighLevel
Yi.Buffer.Indent
Yi.Buffer.Normal
Yi.Buffer.Misc
Yi.Buffer.Region
Yi.Buffer.TextUnit
Yi.Buffer.Undo
Yi.Command
Yi.Completion
Yi.Config
Yi.Config.Default
Yi.Config.Misc
Yi.Config.Simple
Yi.Config.Simple.Types
Yi.Core
Yi.Debug
Yi.Dired
Yi.Dynamic
Yi.Editor
Yi.Eval
Yi.Event
Yi.File
Yi.History
Yi.Hoogle
Yi.Hooks
Yi.IReader
Yi.IncrementalParse
Yi.Interact
Yi.JumpList
Yi.Keymap
Yi.Keymap.Completion
Yi.Keymap.Cua
Yi.Keymap.Emacs
Yi.Keymap.Emacs.KillRing
Yi.Keymap.Emacs.Utils
Yi.Keymap.Keys
Yi.Keymap.Readline
Yi.Keymap.Vim
Yi.Keymap.Vim.TagStack
Yi.Keymap.Vim2
Yi.Keymap.Vim2.Common
Yi.Keymap.Vim2.Digraph
Yi.Keymap.Vim2.Eval
Yi.Keymap.Vim2.EventUtils
Yi.Keymap.Vim2.Ex
Yi.Keymap.Vim2.Ex.Commands.Common
Yi.Keymap.Vim2.Ex.Commands.BufferDelete
Yi.Keymap.Vim2.Ex.Commands.Delete
Yi.Keymap.Vim2.Ex.Commands.Edit
Yi.Keymap.Vim2.Ex.Commands.Global
Yi.Keymap.Vim2.Ex.Commands.GotoLine
Yi.Keymap.Vim2.Ex.Commands.Nohl
Yi.Keymap.Vim2.Ex.Commands.Paste
Yi.Keymap.Vim2.Ex.Commands.Quit
Yi.Keymap.Vim2.Ex.Commands.Reload
Yi.Keymap.Vim2.Ex.Commands.Substitute
Yi.Keymap.Vim2.Ex.Commands.Write
Yi.Keymap.Vim2.Ex.Commands.Yi
Yi.Keymap.Vim2.Ex.Types
Yi.Keymap.Vim2.Ex.Eval
Yi.Keymap.Vim2.ExMap
Yi.Keymap.Vim2.InsertMap
Yi.Keymap.Vim2.MatchResult
Yi.Keymap.Vim2.Motion
Yi.Keymap.Vim2.NormalMap
Yi.Keymap.Vim2.NormalOperatorPendingMap
Yi.Keymap.Vim2.Operator
Yi.Keymap.Vim2.ReplaceMap
Yi.Keymap.Vim2.ReplaceSingleCharMap
Yi.Keymap.Vim2.Search
Yi.Keymap.Vim2.SearchMotionMap
Yi.Keymap.Vim2.StateUtils
Yi.Keymap.Vim2.StyledRegion
Yi.Keymap.Vim2.TextObject
Yi.Keymap.Vim2.Utils
Yi.Keymap.Vim2.VisualMap
Yi.KillRing
Yi.Layout
Yi.Lexer.Abella
Yi.Lexer.Alex
Yi.Lexer.Cabal
Yi.Lexer.Compilation
Yi.Lexer.C
Yi.Lexer.ObjectiveC
Yi.Lexer.Cplusplus
Yi.Lexer.Haskell
Yi.Lexer.JavaScript
Yi.Lexer.Java
Yi.Lexer.JSON
Yi.Lexer.Latex
Yi.Lexer.LiterateHaskell
Yi.Lexer.GitCommit
Yi.Lexer.GNUMake
Yi.Lexer.OCaml
Yi.Lexer.Ott
Yi.Lexer.Perl
Yi.Lexer.Python
Yi.Lexer.Ruby
Yi.Lexer.Srmc
Yi.Lexer.SVNCommit
Yi.Lexer.Whitespace
Yi.Main
Yi.MiniBuffer
Yi.Misc
Yi.Mode.Abella
Yi.Mode.Buffers
Yi.Mode.Compilation
Yi.Mode.Haskell
Yi.Mode.Haskell.Dollarify
Yi.Mode.IReader
Yi.Mode.Interactive
Yi.Mode.JavaScript
Yi.Mode.Latex
Yi.Modes
Yi.Monad
Yi.Paths
Yi.PersistentState
Yi.Prelude
Yi.Process
Yi.Rectangle
Yi.Regex
Yi.Region
Yi.Snippets
Yi.Snippets.Haskell
Yi.Search
Yi.String
Yi.Style
Yi.Style.Library
Yi.Syntax
Yi.Syntax.Driver
Yi.Syntax.Haskell
Yi.Syntax.JavaScript
Yi.Syntax.Latex
Yi.Syntax.Layout
Yi.Syntax.OnlineTree
Yi.Syntax.Paren
Yi.Syntax.Tree
Yi.Syntax.Strokes.Haskell
Yi.Tab
Yi.Tag
Yi.TextCompletion,
Yi.UI.Common
Yi.UI.Batch
Yi.UI.Utils
Yi.UI.TabBar
Yi.Verifier.JavaScript
Yi.Window
Yi.Char.Unicode
build-depends:
Cabal >= 1.10 && < 1.20,
Diff >=0.1 && <0.4,
array, containers, directory, process >= 1.0.1.1, old-locale,
base >= 4 && < 5,
binary >= 0.5,
bytestring >= 0.9.1 && < 0.11,
cautious-file >= 1.0.1,
concrete-typerep >= 0.1.0.2 && < 0.1.1,
derive >=2.4 && <2.7,
data-accessor >= 0.2.1.4 && < 0.3,
data-accessor-mtl == 0.2.*,
data-accessor-template >= 0.2.1.3 && < 0.2.2,
dlist >=0.4.1,
dyre >=0.8.11,
filepath>=1.1 && <1.4,
fingertree >= 0 && <0.2,
hashable >=1.1.2.5,
hint > 0.3.1,
mtl >= 0.1.0.1,
parsec >= 3.0,
pointedlist >= 0.4 && < 0.6,
regex-base ==0.93.*,
regex-tdfa >= 1.1 && <1.3,
split >= 0.1 && < 0.3,
template-haskell >= 2.4,
time >= 1.1 && < 1.5,
utf8-string >= 0.3.1,
uniplate,
unix-compat >=0.1 && <0.5,
unordered-containers >= 0.1.3 && < 0.3,
xdg-basedir >= 0.2.1 && < 0.3
build-tools: alex >= 3.0.3
ghc-options: -Wall -fno-warn-orphans
ghc-prof-options: -prof -auto-all -rtsopts
if flag(profiling)
cpp-options: -DPROFILING
default-extensions: NondecreasingIndentation
if !os(windows)
build-depends:
unix
if os(windows)
build-depends:
Win32
include-dirs: src/library/Yi/Lexer
if flag(testing)
cpp-options: -DTESTING
build-depends:
QuickCheck >= 2.5 && < 2.7,
random
-- Frontends
if flag(pango)
exposed-modules:
Yi.UI.Pango
Yi.UI.Pango.Control
other-modules:
Yi.UI.Pango.Layouts
Yi.UI.Pango.Utils
build-depends:
gtk ==0.12.*,
glib ==0.12.*,
pango ==0.12.*
cpp-options: -DFRONTEND_PANGO
if flag(vty)
exposed-modules:
Yi.UI.Vty
build-depends:
unix-compat >=0.1 && <0.5,
vty >= 4.7.0.0 && <5
cpp-options: -DFRONTEND_VTY
if flag (scion)
cpp-options: -DSCION
exposed-modules: Yi.Scion
build-depends:
scion == 0.1.*,
ghc-syb-utils
if flag (ghcAPI)
cpp-options: -DGHC_API
build-depends:
ghc-paths ==0.1.*,
old-time >= 1.1.0.0,
rosezipper >= 0.1 && < 0.3,
pureMD5 >= 0.2.3
exposed-modules: Yi.Mode.Shim
other-modules:
Shim.SHM, Shim.SessionMonad, Shim.Hsinfo, Shim.GhcCompat,
Shim.ExprSearch, Yi.GHC
other-modules:
Paths_yi,
-- "Internal" modules that the user better not see.
Yi.Buffer.Implementation,
Parser.Incremental,
-- Should probably be split out to another package.
Control.Exc,
Data.DelayList,
Data.Prototype,
Data.Rope,
Data.Trie,
Shim.CabalInfo,
Shim.Utils,
Shim.ProjectContent,
System.CanonicalizePath,
System.FriendlyPath
-- Broken.
-- Yi.Keymap.Ee,
-- Yi.Keymap.Gwern,
-- Yi.Keymap.Joe,
-- Yi.Keymap.Mg,
-- Yi.Keymap.Nano,
-- Yi.Keymap.Vi,
executable parserTest
-- Don't build this for now, has compilation trouble.
buildable: False
hs-source-dirs: src/parsertest
default-language: Haskell2010
main-is: ParserTest/ParserTest.hs
build-depends:
base >=4 && <5,
array,
containers,
directory,
filepath>=1.1 && <1.4,
yi
executable yi
hs-source-dirs: src/executable
default-language: Haskell2010
if flag(profiling)
cpp-options: -DPROFILING
main-is: Main.hs
build-depends:
base >=4 && <5, yi
build-tools: alex >= 3.0.3
ghc-options: -threaded
ghc-prof-options: -prof -auto-all -rtsopts
Test-Suite test-suite
default-language: Haskell2010
hs-source-dirs: src/tests
type: exitcode-stdio-1.0
main-is: TestSuite.hs
build-depends:
base,
test-framework,
test-framework-hunit,
HUnit,
QuickCheck >= 2.5 && < 2.7,
filepath,
directory,
yi