Cabal.cabal 5.92 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: 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
source-repository head
30
31
  type:     git
  location: https://github.com/haskell/cabal/
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,
Ian Lynagh's avatar
Ian Lynagh committed
42
                   filepath   >= 1   && < 1.4
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,
Ian Lynagh's avatar
Ian Lynagh committed
48
                   old-time   >= 1   && < 1.2,
Ian Lynagh's avatar
Ian Lynagh committed
49
                   containers >= 0.1 && < 0.6,
Ian Lynagh's avatar
Ian Lynagh committed
50
                   array      >= 0.1 && < 0.5,
Ian Lynagh's avatar
Ian Lynagh committed
51
                   pretty     >= 1   && < 1.2
52

53
  if !os(windows)
pcapriotti's avatar
pcapriotti committed
54
    Build-Depends: unix       >= 2.0 && < 2.7
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
        Distribution.Simple.Program.Builtin,
        Distribution.Simple.Program.Db,
101
        Distribution.Simple.Program.GHC,
Duncan Coutts's avatar
Duncan Coutts committed
102
        Distribution.Simple.Program.HcPkg,
103
        Distribution.Simple.Program.Hpc,
104
        Distribution.Simple.Program.Ld,
Duncan Coutts's avatar
Duncan Coutts committed
105
106
107
        Distribution.Simple.Program.Run,
        Distribution.Simple.Program.Script,
        Distribution.Simple.Program.Types,
ijones's avatar
ijones committed
108
        Distribution.Simple.Register,
109
        Distribution.Simple.Setup,
ijones's avatar
ijones committed
110
        Distribution.Simple.SrcDist,
111
        Distribution.Simple.Test,
Andres Loeh's avatar
Andres Loeh committed
112
        Distribution.Simple.UHC,
113
        Distribution.Simple.UserHooks,
ijones's avatar
ijones committed
114
        Distribution.Simple.Utils,
115
        Distribution.System,
ttuegel's avatar
ttuegel committed
116
        Distribution.TestSuite,
117
        Distribution.Text,
118
        Distribution.Verbosity,
ijones's avatar
ijones committed
119
        Distribution.Version,
Ian Lynagh's avatar
Ian Lynagh committed
120
        Distribution.Compat.ReadP,
121
        Language.Haskell.Extension
122
123

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

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

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