Cabal.cabal 4.24 KB
Newer Older
1
Name: Cabal
Duncan Coutts's avatar
Duncan Coutts committed
2
Version: 1.9.2
3
Copyright: 2003-2006, Isaac Jones
Duncan Coutts's avatar
Duncan Coutts committed
4
           2005-2009, 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>
8
        Duncan Coutts <duncan@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
Build-Type: Custom
Ross Paterson's avatar
Ross Paterson committed
22
-- Even though we do use the default Setup.lhs it's vital to bootstrapping
23
-- that we build Setup.lhs using our own local Cabal source code.
24

25
Extra-Source-Files:
26
        README changelog
27

28
29
30
source-repository head
  type:     darcs
  location: http://darcs.haskell.org/cabal/
31

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

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

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

51
  if !os(windows)
52
    Build-Depends: unix       >= 2.0 && < 2.5
53

54
  ghc-options: -Wall -fno-ignore-asserts
Duncan Coutts's avatar
Duncan Coutts committed
55
56
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs
Duncan Coutts's avatar
Duncan Coutts committed
57
  cpp-options: "-DCABAL_VERSION=1,9,2"
58
  nhc98-Options: -K4M
59
60

  Exposed-Modules:
ijones's avatar
ijones committed
61
        Distribution.Compiler,
ijones's avatar
ijones committed
62
63
64
        Distribution.InstalledPackageInfo,
        Distribution.License,
        Distribution.Make,
65
        Distribution.ModuleName,
ijones's avatar
ijones committed
66
67
        Distribution.Package,
        Distribution.PackageDescription,
68
        Distribution.PackageDescription.Configuration,
69
        Distribution.PackageDescription.Parse,
70
        Distribution.PackageDescription.Check,
ijones's avatar
ijones committed
71
        Distribution.ParseUtils,
72
        Distribution.ReadE,
ijones's avatar
ijones committed
73
74
        Distribution.Simple,
        Distribution.Simple.Build,
75
76
        Distribution.Simple.Build.Macros,
        Distribution.Simple.Build.PathsModule,
77
        Distribution.Simple.BuildPaths,
78
        Distribution.Simple.Command,
79
        Distribution.Simple.Compiler,
ijones's avatar
ijones committed
80
        Distribution.Simple.Configure,
Ross Paterson's avatar
Ross Paterson committed
81
        Distribution.Simple.GHC,
82
        Distribution.Simple.LHC,
83
        Distribution.Simple.Haddock,
Ross Paterson's avatar
Ross Paterson committed
84
        Distribution.Simple.Hugs,
ijones's avatar
ijones committed
85
        Distribution.Simple.Install,
86
        Distribution.Simple.InstallDirs,
Ross Paterson's avatar
Ross Paterson committed
87
        Distribution.Simple.JHC,
ijones's avatar
ijones committed
88
        Distribution.Simple.LocalBuildInfo,
Ross Paterson's avatar
Ross Paterson committed
89
        Distribution.Simple.NHC,
90
        Distribution.Simple.PackageIndex,
91
92
93
        Distribution.Simple.PreProcess,
        Distribution.Simple.PreProcess.Unlit,
        Distribution.Simple.Program,
94
        Distribution.Simple.Program.Ar,
Duncan Coutts's avatar
Duncan Coutts committed
95
96
97
        Distribution.Simple.Program.Builtin,
        Distribution.Simple.Program.Db,
        Distribution.Simple.Program.HcPkg,
98
        Distribution.Simple.Program.Ld,
Duncan Coutts's avatar
Duncan Coutts committed
99
100
101
        Distribution.Simple.Program.Run,
        Distribution.Simple.Program.Script,
        Distribution.Simple.Program.Types,
ijones's avatar
ijones committed
102
        Distribution.Simple.Register,
103
        Distribution.Simple.Setup,
ijones's avatar
ijones committed
104
        Distribution.Simple.SrcDist,
105
        Distribution.Simple.Test,
Andres Loeh's avatar
Andres Loeh committed
106
        Distribution.Simple.UHC,
107
        Distribution.Simple.UserHooks,
ijones's avatar
ijones committed
108
        Distribution.Simple.Utils,
109
        Distribution.System,
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
        Distribution.Simple.GHC.IPI642
123
124

  Extensions: CPP