Cabal.cabal 5.87 KB
Newer Older
1
Name: Cabal
2
Version: 1.11.3
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: http://hackage.haskell.org/trac/hackage/
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
30
31
source-repository head
  type:     darcs
  location: http://darcs.haskell.org/cabal/
Duncan Coutts's avatar
Duncan Coutts committed
32
  subdir:   cabal
33

34
35
36
37
38
Flag base4
    Description: Choose the even newer, even smaller, split-up base package.

Flag base3
    Description: Choose the new smaller, split-up base package.
39

40
Library
41
  build-depends:   base       >= 2   && < 5,
42
                   filepath   >= 1   && < 1.3
43
44
  if flag(base4) { build-depends: base >= 4 } else { build-depends: base < 4 }
  if flag(base3) { build-depends: base >= 3 } else { build-depends: base < 3 }
45
  if flag(base3)
Ian Lynagh's avatar
Ian Lynagh committed
46
    Build-Depends: directory  >= 1   && < 1.2,
Ian Lynagh's avatar
Ian Lynagh committed
47
                   process    >= 1   && < 1.2,
48
                   old-time   >= 1   && < 1.1,
Simon Marlow's avatar
Simon Marlow committed
49
                   containers >= 0.1 && < 0.5,
Ian Lynagh's avatar
Ian Lynagh committed
50
                   array      >= 0.1 && < 0.4,
Ian Lynagh's avatar
Ian Lynagh committed
51
                   pretty     >= 1   && < 1.2
52

53
  if !os(windows)
Ian Lynagh's avatar
Ian Lynagh committed
54
    Build-Depends: unix       >= 2.0 && < 2.6
55

56
  ghc-options: -Wall -fno-ignore-asserts
Duncan Coutts's avatar
Duncan Coutts committed
57
58
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs
59
  nhc98-Options: -K4M
60
61

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

  Other-Modules:
ijones's avatar
ijones committed
123
        Distribution.GetOpt,
124
        Distribution.Compat.Exception,
125
        Distribution.Compat.CopyFile,
Duncan Coutts's avatar
Duncan Coutts committed
126
127
        Distribution.Compat.TempFile,
        Distribution.Simple.GHC.IPI641,
128
129
        Distribution.Simple.GHC.IPI642,
        Paths_Cabal
130

131
132
  Default-Language: Haskell98
  Default-Extensions: CPP
133
134
135
136

test-suite unit-tests
  type: exitcode-stdio-1.0
  main-is: suite.hs
137
138
139
140
141
142
143
144
145
146
147
  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
148
                 PackageTests.TestOptions.Check,
149
                 PackageTests.TestStanza.Check,
150
                 PackageTests.TestSuiteExeV10.Check,
tibbe's avatar
tibbe committed
151
                 PackageTests.BenchmarkStanza.Check,
152
                 PackageTests.PackageTester
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
  hs-source-dirs: tests
  build-depends:
        base,
        test-framework,
        test-framework-quickcheck2,
        test-framework-hunit,
        HUnit,
        QuickCheck >= 2.1.0.1,
        Cabal,
        process,
        directory,
        filepath,
        extensible-exceptions,
        bytestring,
        unix
168
  Default-Language: Haskell98