packages feed

gdiff-th-0.1.0.0: gdiff-th.cabal

-- gdiff-th.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                gdiff-th

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.1.0.0

-- A short (one-line) description of the package.
Synopsis:            Generate gdiff GADTs and Instances.
-- A longer description of the package.
Description:  
    Generate gdiff GADTs and Instances. Alpha, but suprisingly functional. 
    Very useful for unit testing large data structures. I have tested it on a 
    few very large collections of types and it appears to work. Although, 
    when I tried to compare two versions of a hackage package with src-exts 
    the (GDiff) performance is terrible. In my personal experience of using
    gdiff in unit testing, the performance has be great. Your mileage may vary.
    .
    I wouldn't use it for sending patches over the wire or anything like that, 
    I am not convinced there are no bugs in my code yet. There are examples in the @examples@ directory of the 
    cabal tarball. Also the main module includes an example in the documentation.
    .    
    * New in this version: It's functional.

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
-- Author:  Jonathan Fischoff            

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          jonathangfischoff@gmail.com

-- A copyright notice.
-- Copyright: Copyright 2012 Jonathan Fischoff           

Category:            Generics

Build-type:          Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
Extra-source-files: examples/Expr.hs
                    examples/New.hs
                    examples/Old.hs
                    examples/CompareVersions.hs
                    examples/Parser.hs
                    examples/Utils.hs

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.8


Library
  Hs-Source-Dirs: src
  
  -- Modules exported by the library.
  Exposed-modules: Data.Generic.Diff.TH
  
  Other-modules: Data.Generic.Diff.TH.Conversion, 
                 Data.Generic.Diff.TH.Internal,
                 Data.Generic.Diff.TH.Types
                 Data.Generic.Diff.TH.Specialize
  
  -- Packages needed in order to build this package.
  Build-depends: base >= 4.0 && <= 6.0,
                 template-haskell == 2.8.*,
                 gdiff == 1.0.*,
                 th-expand-syns == 0.3.*,
                 uniplate == 1.6.*,
                 lens == 3.0.*,
                 pointless-haskell == 0.0.*,
                 containers == 0.5.*,
                 mtl == 2.1.*,
                 th-expand-syns == 0.3.*
                 
                 
  ghc-options:            -Wall

Test-Suite tests
    Hs-Source-Dirs: src, tests
    type:       exitcode-stdio-1.0
    main-is:    Main.hs
    build-depends: 
                 DebugTraceHelpers >= 0.12,
                 QuickCheck >= 2.4.1.1,
                 HUnit >= 1.2.4.2,
                 test-framework-quickcheck2 >= 0.2.10,
                 test-framework-hunit >= 0.2.7,
                 test-framework >= 0.4.1.1,
                 checkers >= 0.2.8,
                 mtl >= 2.0.1.0,
                 th-instances >= 0.1.0.14,
                 specialize-th >= 0.0.0.8,
                 universe-th >= 0.0.0.6,
                 type-sub-th >= 0.1.0.5,
                 gdiff >= 1.0,
                 tuple >= 0.2.0.1,
                 pointless-haskell == 0.0.*,
                 containers == 0.5.*