packages feed

cabal-install-0.5.0: cabal-install.cabal

Name:               cabal-install
Version:            0.5.0
Synopsis:           The command-line interface for Cabal and Hackage.
Description:        
    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.
License:            BSD3
License-File:       LICENSE
Author:             Lemmih <lemmih@gmail.com>
                    Paolo Martini <paolo@nemail.it>
		    Bjorn Bringert <bjorn@bringert.net>
		    Isaac Potoczny-Jones <ijones@syntaxpolice.org>
		    Duncan Coutts <duncan@haskell.org>
Maintainer:         cabal-devel@haskell.org
Copyright:          2005 Lemmih <lemmih@gmail.com>
                    2006 Paolo Martini <paolo@nemail.it>
		    2007 Bjorn Bringert <bjorn@bringert.net>
		    2007 Isaac Potoczny-Jones <ijones@syntaxpolice.org>
		    2008 Duncan Coutts <duncan@haskell.org>
Stability:          Experimental
Category:           Distribution
Build-type:         Simple
Extra-Source-Files: README bash-completion/cabal
Cabal-Version:      >= 1.2

flag old-base
  description: Old, monolithic base
  default: False

flag bytestring-in-base

Executable cabal
    Main-Is:            Main.hs
    -- 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
    Other-Modules:
        Hackage.Check
--        Hackage.Clean
        Hackage.Config
        Hackage.Dependency
        Hackage.Dependency.Bogus
        Hackage.Dependency.Naive
        Hackage.Dependency.TopDown
        Hackage.Dependency.TopDown.Constraints
        Hackage.Dependency.TopDown.Types
        Hackage.Dependency.Types
        Hackage.Fetch
        Hackage.HttpUtils
        Hackage.IndexUtils
--        Hackage.Info
        Hackage.Install
        Hackage.InstallPlan
        Hackage.List
        Hackage.ParseUtils
        Hackage.Reporting
        Hackage.Setup
        Hackage.SetupWrapper
        Hackage.SrcDist
        Hackage.Tar
        Hackage.Types
        Hackage.Update
        Hackage.Upload
        Hackage.Utils

    build-depends: Cabal >= 1.4 && < 1.5,
                   filepath >= 1.0,
                   network >= 1 && < 3,
                   HTTP >= 3000 && < 3002,
                   zlib >= 0.4

    if flag(old-base)
      build-depends: base < 3
    else
      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

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

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