cabal-install.cabal 1.47 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Name:               cabal-install
Version:            0.3.0
Synopsis:           Automatic package handling for Haskell
Description:        
    apt-get like tool for Haskell. 'cabal' simplifies the process of
    managing Haskell software by automating the fetching, configuration,
    compilation and installation of Haskell libraries and packages.
License:            BSD3
License-File:       LICENSE
Author:             Lemmih <lemmih@gmail.com>, Paolo Martini <paolo@nemail.it>
Maintainer:         cabal-devel@haskell.org
Copyright:          2005 Lemmih <lemmih@gmail.com>, 2006 Paolo Martini <paolo@nemail.it>
Stability:          Experimental
Category:           Distribution
Build-type:         Simple
16
Extra-Source-Files: copyright README
17
Cabal-Version:      >= 1.2
18

19
20
flag old-base
  description: Old, monolithic base
21
  default: False
22
23

Executable cabal
Don Stewart's avatar
Don Stewart committed
24
    Main-Is:            Main.hs
25
26
    Ghc-Options:        -Wall
    Other-Modules:
Don Stewart's avatar
Don Stewart committed
27
28
29
30
31
32
33
34
35
36
37
38
        Hackage.Clean
        Hackage.Config
        Hackage.Dependency
        Hackage.Fetch
        Hackage.Info
        Hackage.Install
        Hackage.List
        Hackage.Setup
        Hackage.Tar
        Hackage.Types
        Hackage.Update
        Hackage.Utils
39

40
    build-depends: network, regex-compat, Cabal>=1.2,
41
                   zlib >= 0.3, HTTP >= 3000.0 && < 3000.1, filepath >= 1.0
42

43
44
45
46
47
    if flag(old-base) {
      build-depends: base == 2.0 || == 2.1.1
    } else {
      build-depends: base >= 2.1, process, directory, pretty, bytestring >= 0.9
    }