Cabal.cabal 4.01 KB
Newer Older
1
Name: Cabal
2
Version: 1.7.2
3
Copyright: 2003-2006, Isaac Jones
4
           2005-2008, 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
40
41
42
  build-depends:   base       >= 1   && < 5,
                   filepath   >= 1   && < 1.2
  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
44
  if flag(base3)
    Build-Depends: directory  >= 1   && < 1.1,
45
46
                   process    >= 1   && < 1.1,
                   old-time   >= 1   && < 1.1,
Ian Lynagh's avatar
Ian Lynagh committed
47
48
                   containers >= 0.1 && < 0.3,
                   array      >= 0.1 && < 0.3,
49
                   pretty     >= 1   && < 1.1
50

Duncan Coutts's avatar
Duncan Coutts committed
51
52
53
  ghc-options: -Wall
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs
54
  cpp-options: "-DCABAL_VERSION=1,7,2"
55
  nhc98-Options: -K4M
56
57

  Exposed-Modules:
ijones's avatar
ijones committed
58
        Distribution.Compiler,
ijones's avatar
ijones committed
59
60
61
        Distribution.InstalledPackageInfo,
        Distribution.License,
        Distribution.Make,
62
        Distribution.ModuleName,
ijones's avatar
ijones committed
63
64
        Distribution.Package,
        Distribution.PackageDescription,
65
        Distribution.PackageDescription.Configuration,
66
        Distribution.PackageDescription.Parse,
67
        Distribution.PackageDescription.Check,
ijones's avatar
ijones committed
68
        Distribution.ParseUtils,
69
        Distribution.ReadE,
ijones's avatar
ijones committed
70
71
        Distribution.Simple,
        Distribution.Simple.Build,
72
73
        Distribution.Simple.Build.Macros,
        Distribution.Simple.Build.PathsModule,
74
        Distribution.Simple.BuildPaths,
75
        Distribution.Simple.Command,
76
        Distribution.Simple.Compiler,
ijones's avatar
ijones committed
77
        Distribution.Simple.Configure,
Ross Paterson's avatar
Ross Paterson committed
78
        Distribution.Simple.GHC,
79
        Distribution.Simple.LHC,
80
        Distribution.Simple.Haddock,
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,
Duncan Coutts's avatar
Duncan Coutts committed
91
92
93
94
95
96
        Distribution.Simple.Program.Builtin,
        Distribution.Simple.Program.Db,
        Distribution.Simple.Program.HcPkg,
        Distribution.Simple.Program.Run,
        Distribution.Simple.Program.Script,
        Distribution.Simple.Program.Types,
ijones's avatar
ijones committed
97
        Distribution.Simple.Register,
98
        Distribution.Simple.Setup,
ijones's avatar
ijones committed
99
        Distribution.Simple.SrcDist,
100
        Distribution.Simple.UserHooks,
ijones's avatar
ijones committed
101
        Distribution.Simple.Utils,
102
        Distribution.System,
103
        Distribution.Text,
104
        Distribution.Verbosity,
ijones's avatar
ijones committed
105
        Distribution.Version,
Ian Lynagh's avatar
Ian Lynagh committed
106
        Distribution.Compat.ReadP,
107
        Language.Haskell.Extension
108
109

  Other-Modules:
ijones's avatar
ijones committed
110
        Distribution.GetOpt,
111
        Distribution.Compat.Exception,
112
        Distribution.Compat.CopyFile,
Duncan Coutts's avatar
Duncan Coutts committed
113
114
        Distribution.Compat.TempFile,
        Distribution.Simple.GHC.IPI641,
115
        Distribution.Simple.GHC.IPI642
116
117

  Extensions: CPP