packages feed

gitson-0.5.2: gitson.cabal

name:            gitson
version:         0.5.2
synopsis:        A document store library for Git + JSON.
description:     A simple document store library for Git + JSON, based on Aeson. Uses command line git. 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-2015 Greg V <greg@unrelenting.technology>
maintainer:      greg@unrelenting.technology
license:         PublicDomain
license-file:    UNLICENSE
build-type:      Simple
cabal-version:   >= 1.10
extra-source-files:
    README.md
tested-with:
    GHC == 7.10.2

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

library
    build-depends:
        base >= 4.3.0.0 && < 5
      , base-compat >= 0.8.0
      , lifted-base
      , transformers
      , monad-control
      , process
      , bytestring
      , directory
      , filepath
      , errors
      , flock
      , aeson
      , aeson-pretty >= 0.8.0
      , conduit-extra
      , conduit-combinators
    default-language: Haskell2010
    exposed-modules:
        Gitson
        Gitson.Util
    hs-source-dirs: library

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

test-suite tests
    build-depends:
        base >= 4.3.0.0 && < 5
      , gitson
      , transformers
      , process
      , directory
      , aeson
      , hspec
    default-language: Haskell2010
    ghc-options: -threaded -Wall -fhpc
    hs-source-dirs: test-suite
    main-is: Spec.hs
    other-modules:
        GitsonSpec
    type: exitcode-stdio-1.0

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