packages feed

cabal-nirvana-0.2: cabal-nirvana.cabal

Name:                cabal-nirvana
Version:             0.2
Synopsis:            Avoid Cabal dependency hell by constraining to known good versions.
Description:         This tool takes a list of known compatible versions of libraries and forces them to be used. This should bypass a lot of cabal dependency hell, thereby inducing nirvana.
                     .
                     Originally, the idea was to use constraints in the Cabal config file to force this, but unfortunately there's a bug in cabal-install which prevents that from being possible. Instead, this tool now filters the list of available packages available.
                     .
                     The simplest usage is to just run cabal-nirvana. This will perform a few steps:
                     .
                     1. Perform a cabal update
                     .
                     2. Download the most recent version of the blessed package list.
                     .
                     3. Modify the list of packages downloaded in the cabal update by the list of blessed packages.
                     .
                     If you want to leave Nirvana, just perform a normal cabal update.
Homepage:            http://github.com/snoyberg/cabal-nirvana
License:             BSD3
License-file:        LICENSE
Author:              Michael Snoyman
Maintainer:          michael@snoyman.com
Category:            Distribution
Build-type:          Simple
Cabal-version:       >=1.2

flag generate
    default: False

Executable cabal-nirvana
  Main-is:             cabal-nirvana.hs
  Build-depends:       base < 5
                     , HTTP
                     , process
                     , directory
                     , tar >= 0.4 && < 0.5
                     , bytestring

Executable cabal-nirvana-generate
  Main-is:             generate.hs
  if flag(generate)
    Buildable: True
  else
    Buildable: False
  Build-depends:       Cabal
                     , containers
                     , transformers
                     , packdeps >= 0.3 && < 0.4