cabal-install.cabal 2.97 KB
Newer Older
1
Name:               cabal-install
Duncan Coutts's avatar
Duncan Coutts committed
2
Version:            0.4.9
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
License:            BSD3
License-File:       LICENSE
10 11 12
Author:             Lemmih <lemmih@gmail.com>
                    Paolo Martini <paolo@nemail.it>
		    Bjorn Bringert <bjorn@bringert.net>
ijones's avatar
ijones committed
13
		    Isaac Potoczny-Jones <ijones@syntaxpolice.org>
14
		    Duncan Coutts <duncan@haskell.org>
15
Maintainer:         cabal-devel@haskell.org
16 17 18
Copyright:          2005 Lemmih <lemmih@gmail.com>
                    2006 Paolo Martini <paolo@nemail.it>
		    2007 Bjorn Bringert <bjorn@bringert.net>
ijones's avatar
ijones committed
19
		    2007 Isaac Potoczny-Jones <ijones@syntaxpolice.org>
20
		    2008 Duncan Coutts <duncan@haskell.org>
21 22 23
Stability:          Experimental
Category:           Distribution
Build-type:         Simple
24
Extra-Source-Files: README
25
Cabal-Version:      >= 1.2
26

27 28
flag old-base
  description: Old, monolithic base
29
  default: False
30

31 32
flag bytestring-in-base

33
Executable cabal
Don Stewart's avatar
Don Stewart committed
34
    Main-Is:            Main.hs
35 36 37
    -- We want assertion checking on even if people build with -O
    -- although it is expensive, we want to catch problems early:
    Ghc-Options:        -Wall -fno-ignore-asserts
38
    Other-Modules:
39
        Hackage.Check
40
--        Hackage.Clean
Don Stewart's avatar
Don Stewart committed
41 42
        Hackage.Config
        Hackage.Dependency
43 44
        Hackage.Dependency.Bogus
        Hackage.Dependency.Naive
45 46 47
        Hackage.Dependency.TopDown
        Hackage.Dependency.TopDown.Constraints
        Hackage.Dependency.TopDown.Types
48
        Hackage.Dependency.Types
Don Stewart's avatar
Don Stewart committed
49
        Hackage.Fetch
50
        Hackage.HttpUtils
51
        Hackage.IndexUtils
52
--        Hackage.Info
Don Stewart's avatar
Don Stewart committed
53
        Hackage.Install
54
        Hackage.InstallPlan
Don Stewart's avatar
Don Stewart committed
55
        Hackage.List
Duncan Coutts's avatar
Duncan Coutts committed
56
        Hackage.ParseUtils
57
        Hackage.Reporting
Don Stewart's avatar
Don Stewart committed
58
        Hackage.Setup
59
        Hackage.SetupWrapper
60
        Hackage.SrcDist
Don Stewart's avatar
Don Stewart committed
61 62 63
        Hackage.Tar
        Hackage.Types
        Hackage.Update
64
        Hackage.Upload
Don Stewart's avatar
Don Stewart committed
65
        Hackage.Utils
66

67 68 69 70 71
    build-depends: Cabal >= 1.4 && < 1.5,
                   filepath >= 1.0,
                   network >= 1 && < 3,
                   HTTP >= 3000 && < 3002,
                   zlib >= 0.4
72 73 74 75

    if flag(old-base)
      build-depends: base < 3
    else
76 77 78 79 80 81 82 83
      build-depends: base       >= 3   && < 4,
                     process    >= 1   && < 1.1,
                     directory  >= 1   && < 1.1,
                     pretty     >= 1   && < 1.1,
                     random     >= 1   && < 1.1,
                     containers >= 0.1 && < 0.2,
                     array      >= 0.1 && < 0.2,
                     old-time   >= 1   && < 1.1
84

85 86 87 88
    if flag(bytestring-in-base)
      build-depends: base >= 2.0 && < 2.2
    else
      build-depends: base < 2.0 || >= 3.0, bytestring >= 0.9
89 90

    if os(windows)
91
      build-depends: Win32 >= 2 && < 3
92
      cpp-options: -DWIN32