cabal-install.cabal 5.52 KB
Newer Older
1
Name:               cabal-install
Andres Löh's avatar
Andres Löh committed
2
Version:            0.17.0
3
Synopsis:           The command-line interface for Cabal and Hackage.
4
Description:
5
6
7
    The \'cabal\' command-line program simplifies the process of managing
    Haskell software by automating the fetching, configuration, compilation
    and installation of Haskell libraries and programs.
8
9
homepage:           http://www.haskell.org/cabal/
bug-reports:        http://hackage.haskell.org/trac/hackage/
10
11
License:            BSD3
License-File:       LICENSE
12
13
Author:             Lemmih <lemmih@gmail.com>
                    Paolo Martini <paolo@nemail.it>
14
15
                    Bjorn Bringert <bjorn@bringert.net>
                    Isaac Potoczny-Jones <ijones@syntaxpolice.org>
Duncan Coutts's avatar
Duncan Coutts committed
16
                    Duncan Coutts <duncan@community.haskell.org>
17
Maintainer:         cabal-devel@haskell.org
18
19
Copyright:          2005 Lemmih <lemmih@gmail.com>
                    2006 Paolo Martini <paolo@nemail.it>
20
21
                    2007 Bjorn Bringert <bjorn@bringert.net>
                    2007 Isaac Potoczny-Jones <ijones@syntaxpolice.org>
22
                    2007-2012 Duncan Coutts <duncan@community.haskell.org>
23
24
Category:           Distribution
Build-type:         Simple
25
Extra-Source-Files: README bash-completion/cabal bootstrap.sh
Duncan Coutts's avatar
Duncan Coutts committed
26
27
28
Cabal-Version:      >= 1.6

source-repository head
29
30
  type:     git
  location: https://github.com/haskell/cabal/
Duncan Coutts's avatar
Duncan Coutts committed
31
  subdir:   cabal-install
32

33
34
flag old-base
  description: Old, monolithic base
35
  default: False
36

37
38
flag bytestring-in-base

39
Executable cabal
Don Stewart's avatar
Don Stewart committed
40
    Main-Is:            Main.hs
41
    ghc-options:        -Wall -threaded
Duncan Coutts's avatar
Duncan Coutts committed
42
43
    if impl(ghc >= 6.8)
      ghc-options: -fwarn-tabs
44
    Other-Modules:
Duncan Coutts's avatar
Duncan Coutts committed
45
46
        Distribution.Client.BuildReports.Anonymous
        Distribution.Client.BuildReports.Storage
Duncan Coutts's avatar
Duncan Coutts committed
47
        Distribution.Client.BuildReports.Types
Duncan Coutts's avatar
Duncan Coutts committed
48
        Distribution.Client.BuildReports.Upload
49
50
        Distribution.Client.Check
        Distribution.Client.Config
Duncan Coutts's avatar
Duncan Coutts committed
51
        Distribution.Client.Configure
52
53
54
55
56
        Distribution.Client.Dependency
        Distribution.Client.Dependency.TopDown
        Distribution.Client.Dependency.TopDown.Constraints
        Distribution.Client.Dependency.TopDown.Types
        Distribution.Client.Dependency.Types
57
        Distribution.Client.Dependency.Modular
58
59
60
        Distribution.Client.Dependency.Modular.Assignment
        Distribution.Client.Dependency.Modular.Builder
        Distribution.Client.Dependency.Modular.Configured
Andres Löh's avatar
Andres Löh committed
61
        Distribution.Client.Dependency.Modular.ConfiguredConversion
62
63
64
65
        Distribution.Client.Dependency.Modular.Dependency
        Distribution.Client.Dependency.Modular.Explore
        Distribution.Client.Dependency.Modular.Flag
        Distribution.Client.Dependency.Modular.Index
66
        Distribution.Client.Dependency.Modular.IndexConversion
67
68
69
70
71
72
73
74
75
        Distribution.Client.Dependency.Modular.Log
        Distribution.Client.Dependency.Modular.Message
        Distribution.Client.Dependency.Modular.Package
        Distribution.Client.Dependency.Modular.Preference
        Distribution.Client.Dependency.Modular.PSQ
        Distribution.Client.Dependency.Modular.Solver
        Distribution.Client.Dependency.Modular.Tree
        Distribution.Client.Dependency.Modular.Validate
        Distribution.Client.Dependency.Modular.Version
76
        Distribution.Client.Fetch
Duncan Coutts's avatar
Duncan Coutts committed
77
        Distribution.Client.FetchUtils
78
        Distribution.Client.GZipUtils
79
        Distribution.Client.Haddock
80
81
        Distribution.Client.HttpUtils
        Distribution.Client.IndexUtils
82
83
84
85
        Distribution.Client.Init
        Distribution.Client.Init.Heuristics
        Distribution.Client.Init.Licenses
        Distribution.Client.Init.Types
86
87
        Distribution.Client.Install
        Distribution.Client.InstallPlan
88
        Distribution.Client.InstallSymlink
89
        Distribution.Client.List
90
        Distribution.Client.PackageEnvironment
91
        Distribution.Client.PackageIndex
92
        Distribution.Client.PackageUtils
93
        Distribution.Client.ParseUtils
94
95
96
97
        Distribution.Client.Setup
        Distribution.Client.SetupWrapper
        Distribution.Client.SrcDist
        Distribution.Client.Tar
98
        Distribution.Client.Targets
99
        Distribution.Client.Types
Duncan Coutts's avatar
Duncan Coutts committed
100
        Distribution.Client.Unpack
101
102
103
        Distribution.Client.Update
        Distribution.Client.Upload
        Distribution.Client.Utils
104
        Distribution.Client.World
105
        Distribution.Client.Win32SelfUpgrade
Sergei Trofimovich's avatar
Sergei Trofimovich committed
106
        Distribution.Compat.Exception
107
        Distribution.Compat.FilePerms
108
        Paths_cabal_install
109

Duncan Coutts's avatar
Duncan Coutts committed
110
    build-depends: base     >= 2        && < 5,
Andres Löh's avatar
Andres Löh committed
111
                   Cabal    >= 1.17.0   && < 1.18,
Andres Löh's avatar
Andres Löh committed
112
                   filepath >= 1.0      && < 1.4,
Duncan Coutts's avatar
Duncan Coutts committed
113
114
115
                   network  >= 1        && < 3,
                   HTTP     >= 4000.0.2 && < 4001,
                   zlib     >= 0.4      && < 0.6,
Andres Löh's avatar
Andres Löh committed
116
                   time     >= 1.1      && < 1.5,
Duncan Coutts's avatar
Duncan Coutts committed
117
                   mtl      >= 2.0      && < 3
118
119
120
121

    if flag(old-base)
      build-depends: base < 3
    else
122
      build-depends: base       >= 3,
123
                     process    >= 1   && < 1.2,
124
                     directory  >= 1   && < 1.2,
125
                     pretty     >= 1   && < 1.2,
126
                     random     >= 1   && < 1.1,
127
                     containers >= 0.1 && < 0.5,
Andres Löh's avatar
Andres Löh committed
128
129
                     array      >= 0.1 && < 0.5,
                     old-time   >= 1   && < 1.2
130

131
132
133
134
    if flag(bytestring-in-base)
      build-depends: base >= 2.0 && < 2.2
    else
      build-depends: base < 2.0 || >= 3.0, bytestring >= 0.9
135
136

    if os(windows)
137
      build-depends: Win32 >= 2 && < 3
138
      cpp-options: -DWIN32
139
    else
140
      build-depends: unix >= 1.0 && < 2.6
Duncan Coutts's avatar
Duncan Coutts committed
141
    extensions: CPP