packages feed

hub-1.4.0: hub.cabal

Name:                   hub
Version:                1.4.0
Copyright:              Chris Dornan, 2011-2015
Maintainer:             Chris Dornan <chris@chrisdornan.com>
Author:                 Chris Dornan <chris@chrisdornan.com>
License:                BSD3
License-file:           LICENSE
Synopsis:               For multiplexing GHC installations and providing
                        development sandboxes
Description:            This package provides a utility for multiplexing
                        multiple GHC and Haskell Platform installations,
                        each selected by an environment variable or a work-tree
                        configuration file.
                        .
                        The package also provides flexible development sandboxes
                        (aka /hubs/) into which packages can be installed
                        and subsequently erased. Commands are provided for
                        (re)naming, annotating, replicating, swapping, archiving,
                        locking and removing hubs. E.g.,
                        .
                        > hub init
                        .
                        will create a hub based on the default GHC installation
                        and associate the current directory with it. Any use
                        of /cabal/ or the GHC tools within this directory or it's
                        descendants will work with correct tool chain and the
                        private user-package database belonging to the hub.
                        .
                        The following would (i) download 'hexpat' (ii) install it
                        in a named 'hexpat-test' hub connected to the /2011.2.0.1/
                        Haskell Platform, (iii) build the 'hexpat' test suite
                        with the same hub, and (iv) finally run the test suite.
                        .
                        >cabal unpack hexpat
                        >cd hexpat-*
                        >hub init -s 2011.2.0.1 hexpat-test
                        >cabal install
                        >cd test
                        >cabal install --bindir=.
                        >./testsuite
                        .
                        This same 'hexpat-test' hub can be shared with other
                        work trees.
                        .
                        The tool is intended to be provided as part of a
                        distribution (like the /JustHub/ Enterprise Linux
                        distribution) but it can be configured with existing
                        stock GHC installations without too much effort.  Once
                        installed and configured the hub command  inter-operates
                        seamlessly with the GHC tools (/ghc/, /ghci/, /ghc-pkg/,
                        etc.) and /Cabal-install/.
                        .
                        For installation instructions, introductory material,
                        FAQs, etc., see the home page http:\/\/justhub.org.

Stability:              Beta
Category:               Development, Distribution
Homepage:               http://justhub.org
Bug-Reports:            https://github.com/haskell-hub/hub-src/issues
Build-type:             Simple
Cabal-version:          >= 1.10

Source-repository       head
    type:               git
    location:           git@github.com:cdornan/hub.git

Executable              hub
    Main-is:            hub.hs
    Build-depends:      base            >= 4.0 && < 5,
                        hexpat          >= 0.19,
                        regex-compat,
                        containers,
                        unix,
                        filepath,
                        directory,
                        process         >= 1.2.0.0,
                        bytestring,
                        fgl,
                        utf8-string,
                        array
    Other-modules:      Hub.CommandLine
                        Hub.Commands
                        Hub.SaveLoad
                        Hub.Directory
                        Hub.Discover
                        Hub.FilePaths
                        Hub.Help
                        Hub.HelpText
                        Hub.Hub
                        Hub.Oops
                        Hub.PackageDB
                        Hub.Parse
                        Hub.Prog
                        Hub.System
                        Hub.Poss
    GHC-options:        -Wall
    Default-language:   Haskell2010