ghc-mod/ghc-mod.cabal

391 lines
16 KiB
Plaintext
Raw Normal View History

2010-01-06 05:38:06 +00:00
Name: ghc-mod
2017-05-26 20:42:04 +00:00
Version: 5.8.0.0
2015-03-28 01:35:17 +00:00
Author: Kazu Yamamoto <kazu@iij.ad.jp>,
Daniel Gröber <dxld@darkboxed.org>,
Alejandro Serrano <trupill@gmail.com>,
Nikolay Yakimov <root@livid.pp.ru>
2015-03-05 16:25:37 +00:00
Maintainer: Daniel Gröber <dxld@darkboxed.org>
2015-03-03 19:28:34 +00:00
License: AGPL-3
2015-03-04 20:48:21 +00:00
License-File: LICENSE
2015-03-03 19:28:34 +00:00
License-Files: COPYING.BSD3 COPYING.AGPL3
2016-09-03 12:03:20 +00:00
Homepage: https://github.com/DanielG/ghc-mod
2017-03-06 23:19:57 +00:00
Synopsis: Happy Haskell Hacking
2015-03-28 01:35:17 +00:00
Description:
ghc-mod is a backend program to enrich Haskell programming in editors. It
strives to offer most of the features one has come to expect from modern IDEs
in any editor.
2013-05-21 02:04:54 +00:00
2015-03-28 01:35:17 +00:00
ghc-mod provides a library for other haskell programs to use as well as a
standalone program for easy editor integration. All of the fundamental
functionality of the frontend program can be accessed through the library
however many implementation details are hidden and if you want to
significantly extend ghc-mod you should submit these changes upstream instead
of implementing them on top of the library.
Category: GHC, Development
Cabal-Version: >= 1.24
2015-01-16 14:47:56 +00:00
Build-Type: Custom
Data-Files: elisp/Makefile
elisp/*.el
2013-03-01 02:39:47 +00:00
Extra-Source-Files: ChangeLog
2017-01-23 00:55:16 +00:00
README.md
core/GhcMod/Monad/Compat.hs_h
2015-03-04 20:48:21 +00:00
test/data/annotations/*.hs
2013-09-21 06:32:22 +00:00
test/data/broken-cabal/*.cabal
2014-08-20 22:31:48 +00:00
test/data/broken-sandbox/cabal.sandbox.config
2015-03-04 20:48:21 +00:00
test/data/broken-sandbox/dummy.cabal
test/data/cabal-flags/cabal-flags.cabal
test/data/cabal-project/*.cabal
test/data/cabal-project/*.hs
2015-03-05 15:50:06 +00:00
test/data/cabal-project/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/Cabal-1.18.1.3-2b161c6bf77657aa17e1681d83cb051b.conf
2015-03-04 20:48:21 +00:00
test/data/cabal-project/subdir1/subdir2/dummy
test/data/case-split/*.hs
test/data/check-packageid/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf
2015-03-04 20:48:21 +00:00
test/data/check-test-subdir/*.cabal
test/data/check-test-subdir/src/Check/Test/*.hs
2015-03-05 15:50:06 +00:00
test/data/check-test-subdir/test/*.hs
test/data/check-test-subdir/test/Bar/*.hs
2014-04-28 17:41:28 +00:00
test/data/duplicate-pkgver/duplicate-pkgver.cabal
test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-1.0-7c59d13f32294d1ef6dc6233c24df961.conf
test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-14e543bdae2da4d2aeff5386892c9112.conf
test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf
2015-03-04 20:48:21 +00:00
test/data/foreign-export/*.hs
2013-09-21 06:32:22 +00:00
test/data/ghc-mod-check/*.cabal
test/data/ghc-mod-check/*.hs
2015-03-04 20:48:21 +00:00
test/data/ghc-mod-check/lib/Data/*.hs
test/data/hlint/*.hs
test/data/home-module-graph/cpp/*.hs
test/data/home-module-graph/cycle/*.hs
test/data/home-module-graph/errors/*.hs
test/data/home-module-graph/indirect/*.hs
test/data/home-module-graph/indirect-update/*.hs
test/data/import-cycle/*.hs
test/data/non-exported/*.hs
test/data/pattern-synonyms/*.cabal
test/data/pattern-synonyms/*.hs
test/data/quasi-quotes/*.hs
test/data/template-haskell/*.hs
test/data/target/*.hs
test/data/check-missing-warnings/*.hs
test/data/custom-cradle/custom-cradle.cabal
test/data/custom-cradle/ghc-mod.package-db-stack
test/data/custom-cradle/package-db-a/.gitkeep
test/data/custom-cradle/package-db-b/.gitkeep
test/data/custom-cradle/package-db-c/.gitkeep
test/data/cabal-preprocessors/*.cabal
test/data/cabal-preprocessors/*.hs
test/data/cabal-preprocessors/*.hsc
2015-07-03 18:35:57 +00:00
test/data/file-mapping/*.hs
2015-08-16 21:26:43 +00:00
test/data/file-mapping/preprocessor/*.hs
test/data/file-mapping/lhs/*.lhs
2015-08-19 04:58:38 +00:00
test/data/nice-qualification/*.hs
2017-01-15 21:45:49 +00:00
test/data/stack-project/stack.yaml.in
2015-08-18 07:33:18 +00:00
test/data/stack-project/new-template.cabal
2015-08-19 04:48:27 +00:00
test/data/stack-project/*.hs
test/data/stack-project/app/*.hs
test/data/stack-project/src/*.hs
test/data/stack-project/test/*.hs
2016-07-17 23:09:32 +00:00
bench/data/simple-cabal/simple-cabal.cabal
bench/data/simple-cabal/*.hs
2013-05-17 01:00:01 +00:00
2016-05-17 19:45:48 +00:00
Custom-Setup
Setup-Depends: base
, Cabal < 2.1 && >= 1.24
, cabal-doctest < 1.1 && >= 1
2016-05-17 19:45:48 +00:00
, containers
, filepath
, directory
2016-05-17 19:45:48 +00:00
, process
, template-haskell
, transformers
2013-05-17 01:00:01 +00:00
Library
2013-02-15 01:47:56 +00:00
Default-Language: Haskell2010
GHC-Options: -Wall -fno-warn-deprecations
Default-Extensions: ScopedTypeVariables, RecordWildCards, NamedFieldPuns,
2015-03-28 01:33:42 +00:00
ConstraintKinds, FlexibleContexts,
DataKinds, KindSignatures, TypeOperators, ViewPatterns
2017-05-18 00:40:21 +00:00
HS-Source-Dirs: ., core, shared
Exposed-Modules:
GhcMod
GhcMod.Exe.Boot
GhcMod.Exe.Browse
GhcMod.Exe.CaseSplit
GhcMod.Exe.Check
GhcMod.Exe.Debug
GhcMod.Exe.FillSig
GhcMod.Exe.Find
GhcMod.Exe.Flag
GhcMod.Exe.Info
GhcMod.Exe.Internal
GhcMod.Exe.Lang
GhcMod.Exe.Lint
GhcMod.Exe.Modules
GhcMod.Exe.PkgDoc
GhcMod.Exe.Test
GhcMod.CabalHelper
GhcMod.Caching
GhcMod.Caching.Types
GhcMod.Convert
GhcMod.Cradle
GhcMod.CustomPackageDb
GhcMod.DebugLogger
GhcMod.Doc
GhcMod.DynFlags
GhcMod.DynFlagsTH
GhcMod.Error
GhcMod.FileMapping
GhcMod.Gap
GhcMod.GhcPkg
GhcMod.HomeModuleGraph
GhcMod.LightGhc
GhcMod.Logger
GhcMod.Logging
GhcMod.Monad
GhcMod.Monad.Env
GhcMod.Monad.Log
GhcMod.Monad.Newtypes
GhcMod.Monad.Orphans
GhcMod.Monad.Out
GhcMod.Monad.State
GhcMod.Monad.Types
GhcMod.Options.DocUtils
GhcMod.Options.Help
GhcMod.Options.Options
GhcMod.Output
GhcMod.PathsAndFiles
GhcMod.Pretty
GhcMod.Read
GhcMod.SrcUtils
GhcMod.Stack
GhcMod.Target
GhcMod.Types
GhcMod.Utils
GhcMod.World
Other-Modules: Paths_ghc_mod
Utils
Data.Binary.Generic
System.Directory.ModTime
Build-Depends:
-- See Note [GHC Boot libraries]
binary
, bytestring
, containers
, deepseq
, directory
, filepath
, mtl
, old-time
, process
, template-haskell
, time
, transformers
2017-08-19 21:27:08 +00:00
, base < 4.11 && >= 4.6.0.1
, djinn-ghc < 0.1 && >= 0.0.2.2
, extra < 1.6 && >= 1.4
, fclabels < 2.1 && >= 2.0
, ghc-paths < 0.2 && >= 0.1.0.9
, ghc-syb-utils < 0.3 && >= 0.2.3
, haskell-src-exts < 1.20 && >= 1.18
2017-05-25 01:26:33 +00:00
, hlint < 2.1 && >= 2.0.8
, monad-control < 1.1 && >= 1
, monad-journal < 0.8 && >= 0.4
2017-05-27 21:28:49 +00:00
, optparse-applicative < 0.14 && >= 0.13.0.0
, pipes < 4.4 && >= 4.1
, safe < 0.4 && >= 0.3.9
, semigroups < 0.19 && >= 0.10.0
, split < 0.3 && >= 0.2.2
2017-07-18 20:39:31 +00:00
, syb < 0.8 && >= 0.5.1
, temporary < 1.3 && >= 1.2.0.3
, text < 1.3 && >= 1.2.1.3
, transformers-base < 0.5 && >= 0.4.4
2017-08-28 08:47:57 +00:00
, cabal-helper < 0.9 && >= 0.8.0.0
, ghc < 8.4 && >= 7.8
2016-02-04 18:54:55 +00:00
if impl(ghc >= 8.0)
Build-Depends: ghc-boot
2012-02-14 07:09:53 +00:00
2013-05-17 01:00:01 +00:00
Executable ghc-mod
Default-Language: Haskell2010
Main-Is: GhcModMain.hs
2014-04-30 01:49:25 +00:00
Other-Modules: Paths_ghc_mod
, GhcMod.Exe.Options
, GhcMod.Exe.Options.Commands
, GhcMod.Exe.Version
, GhcMod.Exe.Options.ShellParse
GHC-Options: -Wall -fno-warn-deprecations -threaded
2014-07-14 23:53:06 +00:00
Default-Extensions: ConstraintKinds, FlexibleContexts
2017-05-18 00:40:21 +00:00
HS-Source-Dirs: src, shared
Build-Depends:
-- See Note [GHC Boot libraries]
directory
, filepath
, mtl
, process
2017-08-19 21:27:08 +00:00
, base < 4.11 && >= 4.6.0.1
, fclabels < 2.1 && >= 2.0
, monad-control < 1.1 && >= 1
2017-05-27 21:28:49 +00:00
, optparse-applicative < 0.14 && >= 0.13.0.0
, semigroups < 0.19 && >= 0.10.0
, split < 0.3 && >= 0.2.2
2017-08-28 08:47:57 +00:00
, ghc < 8.4 && >= 7.8
2013-05-17 01:00:01 +00:00
, ghc-mod
2014-03-19 01:23:47 +00:00
Executable ghc-modi
Default-Language: Haskell2010
Main-Is: GhcModi.hs
2014-04-30 01:49:25 +00:00
Other-Modules: Paths_ghc_mod
Utils
2017-01-23 00:18:13 +00:00
System.Directory.ModTime
GHC-Options: -Wall -threaded -fno-warn-deprecations
if os(windows)
Cpp-Options: -DWINDOWS
2014-07-14 23:53:06 +00:00
Default-Extensions: ConstraintKinds, FlexibleContexts
2017-05-18 00:40:21 +00:00
HS-Source-Dirs: ., src, shared
Build-Depends:
-- See Note [GHC Boot libraries]
binary
, deepseq
, directory
, filepath
, old-time
, process
, time
2017-08-19 21:27:08 +00:00
, base < 4.11 && >= 4.6.0.1
, ghc-mod
2014-03-19 01:23:47 +00:00
2013-09-20 12:10:31 +00:00
Test-Suite doctest
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
HS-Source-Dirs: test
2014-07-15 02:51:52 +00:00
Ghc-Options: -Wall
2014-07-14 23:53:06 +00:00
Default-Extensions: ConstraintKinds, FlexibleContexts
2013-09-20 12:10:31 +00:00
Main-Is: doctests.hs
2017-08-19 21:27:08 +00:00
Build-Depends: base < 4.11 && >= 4.6.0.1
, doctest < 0.12 && >= 0.9.3
, directory
, ghc
, mtl
, transformers
2013-02-12 05:06:22 +00:00
Test-Suite spec
2013-02-15 01:47:56 +00:00
Default-Language: Haskell2010
Default-Extensions: ScopedTypeVariables, RecordWildCards, NamedFieldPuns,
2015-03-28 01:33:42 +00:00
ConstraintKinds, FlexibleContexts,
DataKinds, KindSignatures, TypeOperators, ViewPatterns
Main-Is: Main.hs
Hs-Source-Dirs: test, src
Ghc-Options: -Wall -fno-warn-deprecations -threaded
2013-02-12 05:06:22 +00:00
Type: exitcode-stdio-1.0
Other-Modules: Paths_ghc_mod
2014-11-01 21:02:47 +00:00
Dir
TestUtils
-- $ ls test/*Spec.hs | sed 's_^.*/\(.*\)\.hs$_\1_' | sort
BrowseSpec
CabalHelperSpec
CaseSplitSpec
CheckSpec
CradleSpec
CustomPackageDbSpec
FileMappingSpec
FindSpec
2013-02-12 05:12:15 +00:00
FlagSpec
GhcPkgSpec
HomeModuleGraphSpec
2013-02-13 07:22:07 +00:00
InfoSpec
2013-02-12 05:06:22 +00:00
LangSpec
2013-02-12 05:31:01 +00:00
LintSpec
2013-02-12 05:06:22 +00:00
ListSpec
MonadSpec
2014-11-01 21:02:47 +00:00
PathsAndFilesSpec
ShellParseSpec
TargetSpec
2015-01-16 14:47:56 +00:00
Build-Depends:
-- See Note [GHC Boot libraries]
containers
, directory
, filepath
, mtl
, process
, transformers
2017-08-19 21:27:08 +00:00
, base < 4.11 && >= 4.6.0.1
, fclabels < 2.1 && >= 2.0
2017-08-28 08:47:57 +00:00
, hspec < 2.5 && >= 2.0.0
, monad-journal < 0.8 && >= 0.4
, split < 0.3 && >= 0.2.2
, temporary < 1.3 && >= 1.2.0.3
if impl(ghc < 7.8)
Build-Depends: convertible < 1.2 && >= 1.1.0.0
if impl(ghc >= 8.0)
Build-Depends: ghc-boot
Build-Depends:
2017-08-28 08:47:57 +00:00
cabal-helper < 0.9 && >= 0.8.0.0
, ghc < 8.4 && >= 7.8
, ghc-mod
2015-01-16 14:47:56 +00:00
Test-Suite shelltest
Default-Language: Haskell2010
Main-Is: ShellTest.hs
Hs-Source-Dirs: shelltest
Type: exitcode-stdio-1.0
Build-Tools: shelltest
2017-08-19 21:27:08 +00:00
Build-Depends: base < 4.11 && >= 4.6.0.1
, process < 1.5
-- , shelltestrunner >= 1.3.5
if !flag(shelltest)
Buildable: False
2016-07-17 23:09:32 +00:00
Benchmark criterion
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
Default-Extensions: ScopedTypeVariables, RecordWildCards, NamedFieldPuns,
ConstraintKinds, FlexibleContexts,
DataKinds, KindSignatures, TypeOperators, ViewPatterns
HS-Source-Dirs: bench, test
Main-Is: Bench.hs
Build-Depends:
-- See Note [GHC Boot libraries]
directory
, filepath
2016-07-17 23:09:32 +00:00
2017-08-19 21:27:08 +00:00
, base < 4.11 && >= 4.6.0.1
, criterion < 1.2 && >= 1.1.1.0
, temporary < 1.3 && >= 1.2.0.3
2016-07-17 23:09:32 +00:00
, ghc-mod
2017-07-07 12:51:03 +00:00
Buildable: False
Flag shelltest
Description: Enable/disable shelltest test-suite
Default: False
Manual: True
2010-03-10 03:06:06 +00:00
Source-Repository head
Type: git
2016-07-15 15:11:07 +00:00
Location: https://github.com/DanielG/ghc-mod.git
-- Note [GHC Boot libraries]
--
-- We don't give bounds to GHC boot libraries as our dependency on 'ghc' already
-- constrains these packages to the version that shipped with GHC.