Cabal.cabal 6.21 KB
Newer Older
1
Name: Cabal
Andres Löh's avatar
Andres Löh committed
2
Version: 1.17.0
3
Copyright: 2003-2006, Isaac Jones
Duncan Coutts's avatar
Duncan Coutts committed
4
           2005-2011, Duncan Coutts
ijones's avatar
ijones committed
5
License: BSD3
ijones's avatar
ijones committed
6
License-File: LICENSE
ijones's avatar
ijones committed
7
Author: Isaac Jones <ijones@syntaxpolice.org>
Duncan Coutts's avatar
Duncan Coutts committed
8
        Duncan Coutts <duncan@community.haskell.org>
9
Maintainer: cabal-devel@haskell.org
ijones's avatar
ijones committed
10
Homepage: http://www.haskell.org/cabal/
11
bug-reports: https://github.com/haskell/cabal/issues
ijones's avatar
ijones committed
12
Synopsis: A framework for packaging Haskell software
ijones's avatar
ijones committed
13
Description:
ijones's avatar
ijones committed
14
        The Haskell Common Architecture for Building Applications and
ijones's avatar
ijones committed
15
        Libraries: a framework defining a common interface for authors to more
ijones's avatar
ijones committed
16
17
        easily build their Haskell applications in a portable way.
        .
18
19
        The Haskell Cabal is part of a larger infrastructure for distributing,
        organizing, and cataloging Haskell libraries and tools.
ijones's avatar
ijones committed
20
Category: Distribution
21
cabal-version: >=1.10
22
Build-Type: Custom
Ross Paterson's avatar
Ross Paterson committed
23
-- Even though we do use the default Setup.lhs it's vital to bootstrapping
24
-- that we build Setup.lhs using our own local Cabal source code.
25

26
Extra-Source-Files:
27
        README changelog
28

29
source-repository head
30
31
  type:     git
  location: https://github.com/haskell/cabal/
32
  subdir:   Cabal
33

34
Library
35
  build-depends:   base       >= 4   && < 5,
36
                   deepseq    >= 1.3 && < 1.4,
37
38
                   filepath   >= 1   && < 1.4,
                   directory  >= 1   && < 1.3,
Ian Lynagh's avatar
Ian Lynagh committed
39
                   process    >= 1   && < 1.2,
40
                   time       >= 1.4 && < 1.5,
Ian Lynagh's avatar
Ian Lynagh committed
41
                   containers >= 0.1 && < 0.6,
Ian Lynagh's avatar
Ian Lynagh committed
42
                   array      >= 0.1 && < 0.5,
43
44
                   pretty     >= 1   && < 1.2,
                   bytestring >= 0.9
45

46
  if !os(windows)
pcapriotti's avatar
pcapriotti committed
47
    Build-Depends: unix       >= 2.0 && < 2.7
48

49
  ghc-options: -Wall -fno-ignore-asserts
Duncan Coutts's avatar
Duncan Coutts committed
50
51
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs
52
  nhc98-Options: -K4M
53
54

  Exposed-Modules:
ijones's avatar
ijones committed
55
        Distribution.Compiler,
ijones's avatar
ijones committed
56
57
58
        Distribution.InstalledPackageInfo,
        Distribution.License,
        Distribution.Make,
59
        Distribution.ModuleName,
ijones's avatar
ijones committed
60
61
        Distribution.Package,
        Distribution.PackageDescription,
62
        Distribution.PackageDescription.Configuration,
63
        Distribution.PackageDescription.Parse,
64
        Distribution.PackageDescription.Check,
jutaro's avatar
jutaro committed
65
        Distribution.PackageDescription.PrettyPrint,
ijones's avatar
ijones committed
66
        Distribution.ParseUtils,
67
        Distribution.ReadE,
ijones's avatar
ijones committed
68
69
        Distribution.Simple,
        Distribution.Simple.Build,
70
71
        Distribution.Simple.Build.Macros,
        Distribution.Simple.Build.PathsModule,
72
        Distribution.Simple.BuildPaths,
tibbe's avatar
tibbe committed
73
        Distribution.Simple.Bench,
74
        Distribution.Simple.Command,
75
        Distribution.Simple.Compiler,
ijones's avatar
ijones committed
76
        Distribution.Simple.Configure,
Ross Paterson's avatar
Ross Paterson committed
77
        Distribution.Simple.GHC,
78
        Distribution.Simple.LHC,
79
        Distribution.Simple.Haddock,
80
        Distribution.Simple.Hpc,
Ross Paterson's avatar
Ross Paterson committed
81
        Distribution.Simple.Hugs,
ijones's avatar
ijones committed
82
        Distribution.Simple.Install,
83
        Distribution.Simple.InstallDirs,
Ross Paterson's avatar
Ross Paterson committed
84
        Distribution.Simple.JHC,
ijones's avatar
ijones committed
85
        Distribution.Simple.LocalBuildInfo,
Ross Paterson's avatar
Ross Paterson committed
86
        Distribution.Simple.NHC,
87
        Distribution.Simple.PackageIndex,
88
89
90
        Distribution.Simple.PreProcess,
        Distribution.Simple.PreProcess.Unlit,
        Distribution.Simple.Program,
91
        Distribution.Simple.Program.Ar,
Duncan Coutts's avatar
Duncan Coutts committed
92
93
        Distribution.Simple.Program.Builtin,
        Distribution.Simple.Program.Db,
94
        Distribution.Simple.Program.GHC,
Duncan Coutts's avatar
Duncan Coutts committed
95
        Distribution.Simple.Program.HcPkg,
96
        Distribution.Simple.Program.Hpc,
97
        Distribution.Simple.Program.Ld,
Duncan Coutts's avatar
Duncan Coutts committed
98
99
100
        Distribution.Simple.Program.Run,
        Distribution.Simple.Program.Script,
        Distribution.Simple.Program.Types,
ijones's avatar
ijones committed
101
        Distribution.Simple.Register,
102
        Distribution.Simple.Setup,
ijones's avatar
ijones committed
103
        Distribution.Simple.SrcDist,
104
        Distribution.Simple.Test,
Andres Loeh's avatar
Andres Loeh committed
105
        Distribution.Simple.UHC,
106
        Distribution.Simple.UserHooks,
ijones's avatar
ijones committed
107
        Distribution.Simple.Utils,
108
        Distribution.System,
ttuegel's avatar
ttuegel committed
109
        Distribution.TestSuite,
110
        Distribution.Text,
111
        Distribution.Verbosity,
ijones's avatar
ijones committed
112
        Distribution.Version,
Ian Lynagh's avatar
Ian Lynagh committed
113
        Distribution.Compat.ReadP,
114
        Language.Haskell.Extension
115
116

  Other-Modules:
ijones's avatar
ijones committed
117
        Distribution.GetOpt,
118
        Distribution.Compat.Exception,
119
        Distribution.Compat.CopyFile,
Duncan Coutts's avatar
Duncan Coutts committed
120
121
        Distribution.Compat.TempFile,
        Distribution.Simple.GHC.IPI641,
122
123
        Distribution.Simple.GHC.IPI642,
        Paths_Cabal
124

125
126
  Default-Language: Haskell98
  Default-Extensions: CPP
127

128
-- Small, fast running tests.
129
130
test-suite unit-tests
  type: exitcode-stdio-1.0
131
132
133
134
135
136
  main-is: UnitTests.hs
  hs-source-dirs: tests
  build-depends:
        base,
        test-framework,
        test-framework-hunit,
137
        test-framework-quickcheck2,
138
        HUnit,
139
        QuickCheck,
140
141
142
143
144
145
146
        Cabal
  Default-Language: Haskell98

-- Large, system tests that build packages.
test-suite package-tests
  type: exitcode-stdio-1.0
  main-is: PackageTests.hs
147
148
149
150
151
152
153
154
155
156
157
  other-modules: PackageTests.BuildDeps.GlobalBuildDepsNotAdditive1.Check,
                 PackageTests.BuildDeps.GlobalBuildDepsNotAdditive2.Check,
                 PackageTests.BuildDeps.InternalLibrary0.Check,
                 PackageTests.BuildDeps.InternalLibrary1.Check,
                 PackageTests.BuildDeps.InternalLibrary2.Check,
                 PackageTests.BuildDeps.InternalLibrary3.Check,
                 PackageTests.BuildDeps.InternalLibrary4.Check,
                 PackageTests.BuildDeps.TargetSpecificDeps1.Check,
                 PackageTests.BuildDeps.TargetSpecificDeps2.Check,
                 PackageTests.BuildDeps.TargetSpecificDeps3.Check,
                 PackageTests.BuildDeps.SameDepsAllRound.Check,
ttuegel's avatar
ttuegel committed
158
                 PackageTests.TestOptions.Check,
159
                 PackageTests.TestStanza.Check,
160
                 PackageTests.TestSuiteExeV10.Check,
tibbe's avatar
tibbe committed
161
                 PackageTests.BenchmarkStanza.Check,
162
                 PackageTests.TemplateHaskell.Check,
163
                 PackageTests.PackageTester
tibbe's avatar
tibbe committed
164
165
                 PackageTests.PathsModule.Executable.Check
                 PackageTests.PathsModule.Library.Check
166
167
168
169
  hs-source-dirs: tests
  build-depends:
        base,
        test-framework,
170
        test-framework-quickcheck2 >= 0.2.12,
171
172
173
174
175
176
177
178
179
180
        test-framework-hunit,
        HUnit,
        QuickCheck >= 2.1.0.1,
        Cabal,
        process,
        directory,
        filepath,
        extensible-exceptions,
        bytestring,
        unix
181
  Default-Language: Haskell98