packages feed

arena-0.1: arena.cabal

name:                arena
version:             0.1
synopsis:            A journaled data store
license:             BSD3
license-file:        LICENSE
author:              davean
maintainer:          davean <davean@xkcd.com>
copyright:           Copyright (C) 2015-2016 davean
stability:           provisional
category:            Database
build-type:          Simple
cabal-version:       >=1.22
bug-reports:         oss@xkcd.com
description:
  @arena@ provides durable storage of data and summaries of that data.

  On insert, data is written to a journal. Each piece of data is added to a running summary of the current journal. When the summary indicates the correct amount of data has accumulated, the journal data is moved, as a block accompanied by its summary, to long-term storage. The data type, summary type, and accumulation policy are configurable.

source-repository head
  type: git
  location: http://git.xkrd.net/distributed-systems/arena

library
  hs-source-dirs:      src
  default-language:    Haskell2010
  exposed-modules:
        Database.Arena
  build-depends:
        base >=4.8 && <5
      , bytestring >= 0.10.4.1
      , filepath >= 1.2.0.0
      , semigroups >= 0.17
      , mtl >= 2.2
      , bytes >= 0.14
      , digest >= 0.0.1.2
      , directory >= 1.2.5.0
      , safe >= 0.3
      , containers >= 0.5.4.0
      , unix >= 2.7.1.0
      , persistent-vector >= 0.1.1

test-suite test
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs: tests
  main-is: test.hs
  build-depends:
      base >=4.8 && <5
    , arena
    , directory
    , mtl
    , semigroups

test-suite example
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs: tests
  main-is: example.hs
  build-depends:
      base >=4.8 && <5
    , arena
    , bytes
    , containers
    , directory
    , mtl
    , semigroups

benchmark bench
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs: bench
  main-is: bench.hs
  build-depends:
      base >=4.8 && <5
    , arena
    , directory
    , criterion >= 1.1.1.0
    , mtl
    , semigroups