packages feed

svndump-0.2.0: svndump.cabal

name:          svndump
category:      Subversion
version:       0.2.0
license:       BSD3
cabal-version: >= 1.8
license-file:  LICENSE
author:        John Wiegley
maintainer:    John Wiegley <johnw@newartisans.com>
stability:     provisional
homepage:      http://github.com/jwiegley/svndump/
bug-reports:   http://github.com/jwiegley/svndump/issues
copyright:     Copyright (C) 2012 John Wiegley
synopsis:      Library for reading Subversion dump files
description:
  A library for parsing Subversion dump files.  The objective is to convert a
  dump file into a series of data structures representing that same
  information.  It uses `Data.ByteString.Lazy` to reading the file, and
  `Data.Text` to represent text fields which may contain Unicode characters.

build-type:    Simple
tested-with:   GHC == 7.4.2
extra-source-files:
  .gitignore
  LICENSE
  README.md

source-repository head
  type: git
  location: git://github.com/jwiegley/svndump.git

library
  build-depends:
    base                 >= 4.3      && < 5,
    attoparsec           >= 0.10.2,
    filepath             >= 1.3,
    bytestring           >= 0.9      && < 0.10,
    containers           >= 0.4.2,
    text                 >= 0.11     && < 0.12

  exposed-modules:
    Subversion
    Subversion.Dump

  ghc-options: -Wall -fwarn-tabs -O2
  hs-source-dirs: src

-- Test the raw dump file parser
test-suite test-raw
  type:    exitcode-stdio-1.0
  main-is: test-raw.hs

  build-depends:
    base                 >= 4.3      && < 5,
    attoparsec           >= 0.10.2,
    bytestring           >= 0.9      && < 0.10,
    zlib                 >= 0.5      && < 0.6,
    svndump

  ghc-options: -Wall -Werror -O2
  hs-source-dirs: test

-- Test the raw dump file parser
test-suite test-cooked
  type:    exitcode-stdio-1.0
  main-is: test-cooked.hs

  build-depends:
    base                 >= 4.3      && < 5,
    bytestring           >= 0.9      && < 0.10,
    zlib                 >= 0.5      && < 0.6,
    svndump

  ghc-options: -Wall -Werror -O2
  hs-source-dirs: test