tsparse-0.2.0.0: tsparse.cabal
-- Initial tsparse.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: tsparse
version: 0.2.0.0
-- A short (one-line) description of the package.
synopsis: Parses U.S. federal Thrift Savings Plan PDF quarterly statements
-- A longer description of the package.
description:
See the TsParse module for details.
.
There are also multiple tests in the package, but these are not built
by default. To get the tests, build with the "test" flag.
.
Binaries you will get if you build with the "test" flag:
.
* parse-tsp-pdf - given a single command-line argument which is the
filename of a TSP PDF statement, will pretty print the data in
the file.
.
* parse-tsp-text - given a single command-line argument which is the
filename of TSP data that is output from pdftotext (or is
generated by gen-tsp), pretty prints the data in the file. If no
filename, reads standard input.
.
* test-tsp - tests all QuickCheck properties in the library.
.
* gen-tsp - given a single command-line argument which is the
QuickCheck "size" parameter (this should be a non-negative
integer), generates a valid input to the parse-tsp-text file. The
bigger the number, the more text you get.
-- URL for the project homepage or repository.
homepage: http://www.github.com/massysett/tsparse
-- The license under which the package is released.
license: BSD3
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Omari Norman
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: omari@smileystation.com
-- A copyright notice.
-- copyright:
category: Finance
build-type: Simple
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.8
library
-- Modules exported by the library.
exposed-modules: TsParse
-- Modules included in this library but not exported.
-- other-modules:
-- Other library packages from which modules are imported.
build-depends:
base ==4.6.*
, Decimal ==0.3.*
, time ==1.4.*
, split ==0.2.*
, parsec ==3.1.*
, process ==1.1.*
, pretty ==1.1.*
ghc-options: -Wall
Flag test
Description: Enable options for testing
Default: False
Executable parse-tsp-pdf
main-is: parse-tsp-pdf.hs
build-depends:
base ==4.6.*
, Decimal ==0.3.*
, time ==1.4.*
, split ==0.2.*
, parsec ==3.1.*
, process ==1.1.*
, pretty ==1.1.*
ghc-options: -Wall
if ! flag(test)
buildable: False
Executable parse-tsp-text
main-is: parse-tsp-text.hs
build-depends:
base ==4.6.*
, Decimal ==0.3.*
, time ==1.4.*
, split ==0.2.*
, parsec ==3.1.*
, process ==1.1.*
, pretty ==1.1.*
ghc-options: -Wall
if ! flag(test)
buildable: False
Executable test-tsp
main-is: test-tsp.hs
build-depends:
base ==4.6.*
, Decimal ==0.3.*
, time ==1.4.*
, split ==0.2.*
, parsec ==3.1.*
, process ==1.1.*
, pretty ==1.1.*
extensions: CPP
ghc-options: -Wall
if ! flag(test)
buildable: False
else
cpp-options: -Dtest
build-depends: QuickCheck ==2.5.*
Executable gen-tsp
main-is: gen-tsp.hs
build-depends:
base ==4.6.*
, Decimal ==0.3.*
, time ==1.4.*
, split ==0.2.*
, parsec ==3.1.*
, process ==1.1.*
, pretty ==1.1.*
, random ==1.0.*
extensions: CPP
ghc-options: -Wall
if ! flag(test)
buildable: False
else
cpp-options: -Dtest
build-depends: QuickCheck ==2.5.*