Name:                   diff-parse
Version:                0.1.2
Author:                 Gabe Mulley <gabe@edx.org>
Maintainer:             Gabe Mulley <gabe@edx.org>
Category:               Parsing
License:                AGPL-3
License-File:           LICENSE
Synopsis:               A parser for diff file formats
Description:            Parse output produced by git diff.
Cabal-Version:          >= 1.18
Build-Type:             Simple

Library
  Default-Language:     Haskell2010
  HS-Source-Dirs:       src
  GHC-Options:          -Wall
  Exposed-Modules:      Text.Diff.Parse
                      , Text.Diff.Parse.Types
  Other-Modules:        Text.Diff.Parse.Internal
  Build-Depends:        base >= 4 && < 5
                      , text
                      , attoparsec >= 0.11
  Other-Extensions:     OverloadedStrings

Test-Suite spec
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       src
                      , test
  Ghc-Options:          -Wall
  Main-Is:              Spec.hs
  Build-Depends:        base >= 4 && < 5
                      , diff-parse
                      , attoparsec
                      , text
                      , hspec == 1.10.*
  Other-Extensions:     OverloadedStrings

Source-Repository head
  Type:                 git
  Location:             https://github.com/mulby/diff-parse.git