packages feed

toolshed-0.16.0.0: toolshed.cabal

-- This file is part of ToolShed.
--
-- ToolShed is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- ToolShed is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with ToolShed.  If not, see <http://www.gnu.org/licenses/>.

Name:		toolshed
Version:	0.16.0.0
Cabal-version:	>= 1.10
Copyright:	(C) 2010-2015 Dr. Alistair Ward
License:	GPL
License-file:	LICENSE
Author:		Dr. Alistair Ward
Stability:	stable
Synopsis:	Ill-defined library.
Build-type:	Simple
Description:	Ill-defined unrelated utilities used by other packages from <http://functionalley.eu>
Category:	Utils
Tested-with:	GHC == 7.4, GHC == 7.6, GHC == 7.8, GHC == 7.10
Homepage:	http://functionalley.eu
Maintainer:	mailto <colon> toolshed <at> functionalley <dot> eu
Bug-reports:	mailto <colon> toolshed <at> functionalley <dot> eu

-- None of these files are needed at run-time.
Extra-source-files:
    changelog.markdown
    copyright
    README.markdown

-- Enable using: 'cabal configure -f llvm'.
flag llvm
    Description:	Whether the 'llvm' compiler-backend has been installed and is required for code-generation.
    Manual:		True
    Default:		False

Library
    Default-language:	Haskell2010
    GHC-options:	-Wall -O2 -fno-warn-tabs
    Hs-source-dirs:	src-lib

    Exposed-modules:
        ToolShed.Data.Foldable
        ToolShed.Data.List
        ToolShed.Data.List.Runlength
        ToolShed.Data.List.Splits
        ToolShed.Data.Pair
        ToolShed.Data.Quadruple
        ToolShed.Data.Triple
        ToolShed.Defaultable
        ToolShed.Options
        ToolShed.SelfValidate
        ToolShed.System.File
        ToolShed.System.Random
        ToolShed.System.TimeAction
        ToolShed.System.TimePure
        ToolShed.Test.QuickCheck.Arbitrary.Array
        ToolShed.Test.QuickCheck.Arbitrary.Map
        ToolShed.Test.QuickCheck.Arbitrary.Set
        ToolShed.Test.QuickCheck.Result
        ToolShed.Test.ReversibleBoundedEnum
        ToolShed.Test.ReversibleEnum
        ToolShed.Test.ReversibleIO

    Build-depends:
        array,
        base == 4.*,
        containers >= 0.4.2.0,
        deepseq >= 1.1,
        directory,
        filepath,
        QuickCheck >= 2.2,
        random

    if impl(ghc >= 7.4.1)
        GHC-prof-options:	-prof -fprof-auto -fprof-cafs
    else
        GHC-prof-options:	-prof -auto-all -caf-all

    if impl(ghc >= 7.0) && flag(llvm)
        GHC-options:	-fllvm

Test-Suite quickCheck
    Default-language:	Haskell2010
    GHC-options:	-Wall -fno-warn-tabs
    Hs-source-dirs:	src-test
    Main-is:		Main.hs
    Type:		exitcode-stdio-1.0

-- Required for 'cabal sdist'.
    Other-modules:
        ToolShed.Test.Data.Foldable
        ToolShed.Test.Data.List
        ToolShed.Test.Data.List.Runlength
        ToolShed.Test.Data.List.Splits
        ToolShed.Test.Data.Quadruple
        ToolShed.Test.Data.Triple
        ToolShed.Test.SelfValidate
        ToolShed.Test.System.Random

    Build-depends:
        base == 4.*,
        containers >= 0.4.2.0,
        QuickCheck >= 2.2,
        random,
        toolshed