packages feed

gitson-0.3.0: gitson.cabal

name:            gitson
version:         0.3.0
synopsis:        A document store library for Git + JSON.
description:     A simple document store library for Git + JSON, based on Aeson. Uses command line git, at least for now. No fancy indexes and stuff, but it does what I need right now. Transactions use flock, so it's safe even across completely separate programs!
category:        Database, JSON, Git
homepage:        https://github.com/myfreeweb/gitson
author:          Greg V
copyright:       2014 Greg V <floatboth@me.com>
maintainer:      floatboth@me.com
license:         Apache-2.0
license-file:    COPYING
build-type:      Simple
cabal-version:   >= 1.18
extra-source-files:
    README.md
tested-with:
    GHC == 7.6.3
  , GHC == 7.8.2

source-repository head
    type: git
    location: git://github.com/myfreeweb/gitson.git

library
    build-depends:
        base >= 4.0.0.0 && < 5
      , transformers
      , process
      , bytestring
      , directory
      , filepath
      , errors
      , flock
      , aeson
      , aeson-pretty
    default-language: Haskell2010
    exposed-modules:
        Gitson
        Gitson.Util
        -- HASKELETON: New.Module
    ghc-prof-options: -auto-all -prof
    hs-source-dirs: library

test-suite documentation
    build-depends:
        base >= 4.0.0.0 && < 5
      , process == 1.*
      , regex-compat == 0.*
    default-language: Haskell2010
    hs-source-dirs: test-suite
    main-is: Haddock.hs
    type: exitcode-stdio-1.0

test-suite examples
    build-depends:
        base >= 4.0.0.0 && < 5
      , Glob == 0.*
      , doctest >= 0.8
    default-language: Haskell2010
    ghc-options: -threaded -Wall -Werror
    hs-source-dirs: test-suite
    main-is: DocTest.hs
    type: exitcode-stdio-1.0

test-suite tests
    build-depends:
        base >= 4.0.0.0 && < 5
      , gitson
      , transformers
      , process
      , directory
      , aeson
      , hspec == 1.*
        , HUnit
        , QuickCheck
    default-language: Haskell2010
    ghc-options: -threaded -Wall -Werror -fhpc
    hs-source-dirs: test-suite
    main-is: Spec.hs
    other-modules:
        GitsonSpec
        Gitson.UtilSpec
        -- HASKELETON: New.ModuleSpec
    type: exitcode-stdio-1.0

benchmark benchmarks
    build-depends:
        base >= 4.0.0.0 && < 5
      , directory
      , transformers
      , random
      , gitson
      , aeson
      , criterion == 0.6.*
        , hastache < 0.6
        , statistics < 0.11
    default-language: Haskell2010
    hs-source-dirs: benchmark
    main-is: Bench.hs
    type: exitcode-stdio-1.0