cabal-install.cabal 1.6 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
24
flag bytestring-in-base

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

43
44
45
46
47
48
49
    build-depends: Cabal >= 1.2, filepath >= 1.0, network,
                   zlib >= 0.3, HTTP >= 3000.0 && < 3000.1

    if flag(old-base)
      build-depends: base < 3
    else
      build-depends: base >= 3, process, directory, pretty
50

51
52
53
54
    if flag(bytestring-in-base)
      build-depends: base >= 2.0 && < 2.2
    else
      build-depends: base < 2.0 || >= 3.0, bytestring >= 0.9