cabal-install.cabal 2.46 KB
Newer Older
1
Name:               cabal-install
2
Version:            0.4.8
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
    Ghc-Options:        -Wall
    Other-Modules:
37
        Hackage.Check
38
--        Hackage.Clean
Don Stewart's avatar
Don Stewart committed
39 40
        Hackage.Config
        Hackage.Dependency
41 42
        Hackage.Dependency.Bogus
        Hackage.Dependency.Naive
43 44 45
        Hackage.Dependency.TopDown
        Hackage.Dependency.TopDown.Constraints
        Hackage.Dependency.TopDown.Types
46
        Hackage.Dependency.Types
Don Stewart's avatar
Don Stewart committed
47
        Hackage.Fetch
48
        Hackage.HttpUtils
49
        Hackage.IndexUtils
50
--        Hackage.Info
Don Stewart's avatar
Don Stewart committed
51
        Hackage.Install
52
        Hackage.InstallPlan
Don Stewart's avatar
Don Stewart committed
53
        Hackage.List
Duncan Coutts's avatar
Duncan Coutts committed
54
        Hackage.ParseUtils
Don Stewart's avatar
Don Stewart committed
55
        Hackage.Setup
56
        Hackage.SetupWrapper
57
        Hackage.SrcDist
Don Stewart's avatar
Don Stewart committed
58 59 60
        Hackage.Tar
        Hackage.Types
        Hackage.Update
61
        Hackage.Upload
Don Stewart's avatar
Don Stewart committed
62
        Hackage.Utils
63

64
    build-depends: Cabal >= 1.3.11 && < 1.5, filepath >= 1.0, network,
65
                   zlib >= 0.3, HTTP >= 3000.0 && < 3001.2
66 67 68 69

    if flag(old-base)
      build-depends: base < 3
    else
Duncan Coutts's avatar
Duncan Coutts committed
70
      build-depends: base >= 3, process, directory, pretty, random,
71
                     containers, array, old-time
72

73 74 75 76
    if flag(bytestring-in-base)
      build-depends: base >= 2.0 && < 2.2
    else
      build-depends: base < 2.0 || >= 3.0, bytestring >= 0.9
77 78 79 80

    if os(windows)
      build-depends: Win32 >= 2
      cpp-options: -DWIN32