packages feed

penny-0.32.0.4: penny.cabal

-- The penny.cabal file is generated using m4, the penny.cabal.m4
-- file, and the versions.m4 file.  The Makefile will generate
-- penny.cabal for you.

Name: penny
Version: 0.32.0.4
Cabal-version: >=1.8
Build-Type: Simple
License: BSD3
Copyright: 2012-2014 Omari Norman.
author: Omari Norman
maintainer: omari@smileystation.com
stability: Experimental
homepage: http://www.github.com/massysett/penny
bug-reports: omari@smileystation.com
Category: Console, Finance
License-File: LICENSE

synopsis: Extensible double-entry accounting system

description:
  Penny is a double-entry accounting system.  You keep your records in a
  plain-text file, and Penny gives you useful reports in your UNIX shell.
  .
  For more information, please see
  .
  <http://www.github.com/massysett/penny>

extra-source-files:
    install-docs
  , README.md
  , doc/*.dot
  , doc/*.hs
  , doc/examples/*.pny
  , doc/man/*.1
  , doc/man/*.7
  , versions.m4
  , Makefile
  , current-versions.txt
  , minimum-versions.txt
  , penny.cabal.m4

source-repository head
  type: git
  location: git://github.com/massysett/penny.git

Library

  Build-depends:
      base >= 4.5.0.0 && < 5

    -- Do not try to put comments on same line as data; Cabal does
    -- not allow this.

    -- Package                  Version
    , bytestring                >= 0.9.2.1
    , containers                >= 0.4.2.1
    , old-locale                >= 1.0.0.4
    , parsec                    >= 3.1.3
    , split                     >= 0.2.2
    , text                      >= 0.11.2.0
    , time                      >= 1.4
    , transformers              >= 0.3.0.0

    -- Omari packages
    -- Package                  Version
    , anonymous-sums            >= 0.4.0.0
    , matchers                  >= 0.14.0.2                && < 0.15.0.0
    , multiarg                  >= 0.24.0.4                && < 0.25.0.0
    , ofx                       >= 0.4.0.2
    , prednote                  >= 0.18.0.4                && < 0.19.0.0
    , rainbow                   >= 0.6.0.4

    -- Other packages
    -- Package                  Version
    , action-permutations       == 0.0.0.0
    , cereal                    >= 0.3.5.2
    , either                    >= 3.4.1
    , pretty-show               >= 1.5
    , semigroups                >= 0.9.2

  Exposed-modules:
      Penny
    , Penny.Brenner
    , Penny.Brenner.Clear
    , Penny.Brenner.Database
    , Penny.Brenner.Import
    , Penny.Brenner.Info
    , Penny.Brenner.Merge
    , Penny.Brenner.OFX
    , Penny.Brenner.Print
    , Penny.Brenner.Types
    , Penny.Brenner.Util
    , Penny.Cabin
    , Penny.Cabin.Balance
    , Penny.Cabin.Balance.Convert
    , Penny.Cabin.Balance.Convert.Chunker
    , Penny.Cabin.Balance.Convert.ChunkerPct
    , Penny.Cabin.Balance.Convert.Options
    , Penny.Cabin.Balance.Convert.Parser
    , Penny.Cabin.Balance.MultiCommodity
    , Penny.Cabin.Balance.MultiCommodity.Chunker
    , Penny.Cabin.Balance.MultiCommodity.Parser
    , Penny.Cabin.Balance.Util
    , Penny.Cabin.Interface
    , Penny.Cabin.Meta
    , Penny.Cabin.Options
    , Penny.Cabin.Parsers
    , Penny.Cabin.Posts
    , Penny.Cabin.Posts.Allocated
    , Penny.Cabin.Posts.BottomRows
    , Penny.Cabin.Posts.Fields
    , Penny.Cabin.Posts.Growers
    , Penny.Cabin.Posts.Chunk
    , Penny.Cabin.Posts.Meta
    , Penny.Cabin.Posts.Parser
    , Penny.Cabin.Posts.Spacers
    , Penny.Cabin.Posts.Types
    , Penny.Cabin.Row
    , Penny.Cabin.Scheme
    , Penny.Cabin.Scheme.Schemes
    , Penny.Cabin.TextFormat
    , Penny.Copper
    , Penny.Copper.Interface
    , Penny.Copper.Parsec
    , Penny.Copper.Render
    , Penny.Copper.Terminals
    , Penny.Denver
    , Penny.Denver.Diff
    , Penny.Denver.Reprint
    , Penny.Denver.Selloff
    , Penny.Denver.Reconcile
    , Penny.Liberty
    , Penny.Lincoln
    , Penny.Lincoln.Balance
    , Penny.Lincoln.Bits
    , Penny.Lincoln.Bits.DateTime
    , Penny.Lincoln.Bits.Open
    , Penny.Lincoln.Bits.Price
    , Penny.Lincoln.Bits.Qty
    , Penny.Lincoln.Builders
    , Penny.Lincoln.Ents
    , Penny.Lincoln.Equivalent
    , Penny.Lincoln.HasText
    , Penny.Lincoln.Matchers
    , Penny.Lincoln.Natural
    , Penny.Lincoln.Predicates
    , Penny.Lincoln.Predicates.Siblings
    , Penny.Lincoln.PriceDb
    , Penny.Lincoln.Queries
    , Penny.Lincoln.Queries.Siblings
    , Penny.Lincoln.Serial
    , Penny.Shield
    , Penny.Steel
    , Penny.Wheat
    , Penny.Zinc

  Other-modules:
      Paths_penny

  hs-source-dirs: lib

  if flag(incabal)
    cpp-options: -Dincabal

  ghc-options: -Wall
  if flag(debug)
    ghc-options: -auto-all -caf-all

Test-Suite penny-test
  type: exitcode-stdio-1.0
  Main-is: penny-test.hs
  other-modules:
      Copper
    , Copper.Gen.Parsers
    , Copper.Gen.Terminals
    , Copper.Parser
    , Copper.Render
    , Lincoln
  hs-source-dirs: tests

  -- For details on why penny is a dependency here, see
  -- http://stackoverflow.com/questions/6711151

  build-depends:
      penny           == 0.32.0.4
    , base            >= 4.5.0.0 && < 5

    -- Packages I maintain
    , multiarg        >= 0.24.0.4                          && < 0.25.0.0
    , anonymous-sums  >= 0.4.0.0

    -- Other packages
    , QuickCheck      >= 2.5
    , random-shuffle  >= 0.0.4
    , parsec          >= 3.1.3
    , semigroups      >= 0.9.2
    , text            >= 0.11.2.0
    , time            >= 1.4
    , transformers    >= 0.3.0.0

  ghc-options: -Wall

Executable penny-gibberish
  Main-is: penny-gibberish.hs
  other-modules:
      Copper.Gen.Parsers
    , Copper.Gen.Terminals
  hs-source-dirs: tests

  if flag(build-gibberish)
    build-depends:
          penny           == 0.32.0.4
        , base            >= 4.5.0.0 && < 5

        -- Packages I maintain
        , multiarg        >= 0.24.0.4                      && < 0.25.0.0

        -- Other packages
        , QuickCheck      >= 2.5
        , random-shuffle  >= 0.0.4
        , random          >= 1.0.0.0
        , semigroups      >= 0.9.2
        , text            >= 0.11.2.0
        , time            >= 1.4
        , transformers    >= 0.3.0.0

  else
    buildable: False

  ghc-options: -Wall

Flag build-gibberish
  Description: Build the penny-gibberish executable
  Default: False

Executable penny
  Build-depends:
      penny ==0.32.0.4
    , base >= 4.5.0.0 && < 5

  hs-source-dirs: bin
  Main-is: penny-main.hs
  Other-modules: Paths_penny
  GHC-Options: -Wall
  if flag(debug)
    GHC-Options: -rtsopts -auto-all -caf-all

  if ! flag(build-penny)
    buildable: False

Flag build-penny
  Description: Build the penny executable
  Default: True

Executable penny-selloff
  Build-depends:
      penny == 0.32.0.4
    , base >= 4.5.0.0 && < 5

  other-modules: Paths_penny
  hs-source-dirs: bin
  Main-is: penny-selloff.hs
  GHC-Options: -Wall
  if flag(debug)
    GHC-Options: -rtsopts -auto-all -caf-all

  if ! flag(build-selloff)
    buildable: False

Flag build-selloff
  Description: Build the penny-selloff executable
  Default: True

Executable penny-diff
  Build-depends:
      penny == 0.32.0.4
    , base >= 4.5.0.0 && < 5

  hs-source-dirs: bin
  Main-is: penny-diff.hs
  Other-modules: Paths_penny
  GHC-Options: -Wall
  if flag(debug)
    GHC-Options: -rtsopts -auto-all -caf-all

  if ! flag(build-diff)
    buildable: False

Flag build-diff
  Description: Build the penny-diff executable
  Default: True

Executable penny-reprint
  Build-depends:
      penny == 0.32.0.4
    , base >= 4.5.0.0 && < 5

  hs-source-dirs: bin
  main-is: penny-reprint.hs
  Other-modules: Paths_penny
  ghc-options: -Wall
  if ! flag(build-reprint)
    buildable: False

Flag build-reprint
  Description: Build the penny-reprint executable
  Default: True

Executable penny-reconcile
  Build-depends:
      penny == 0.32.0.4
    , base >= 4.5.0.0 && < 5

  hs-source-dirs: bin
  main-is: penny-reconcile.hs
  Other-modules: Paths_penny
  ghc-options: -Wall
  if ! flag(build-reconcile)
    buildable: False

Flag build-reconcile
  Description: Build the penny-reconcile executable
  Default: True

Flag debug
  Description: turns on some debugging options
  Default: False

Flag test
  Description: enables QuickCheck tests
  Default: False

Flag incabal
  Description: enables imports that only Cabal makes available
  Default: True