packages feed

hasql-transaction-0.5: hasql-transaction.cabal

name:
  hasql-transaction
version:
  0.5
category:
  Hasql, Database, PostgreSQL
synopsis:
  A composable abstraction over the retryable transactions for Hasql
homepage:
  https://github.com/nikita-volkov/hasql-transaction 
bug-reports:
  https://github.com/nikita-volkov/hasql-transaction/issues 
author:
  Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
  Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
  (c) 2015, Nikita Volkov
license:
  MIT
license-file:
  LICENSE
build-type:
  Simple
cabal-version:
  >=1.10


source-repository head
  type:
    git
  location:
    git://github.com/nikita-volkov/hasql-transaction.git


library
  hs-source-dirs:
    library
  ghc-options:
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010
  other-modules:
    Hasql.Transaction.Private.Prelude
    Hasql.Transaction.Private.Model
    Hasql.Transaction.Private.SQL
    Hasql.Transaction.Private.Queries
    Hasql.Transaction.Private.Sessions
    Hasql.Transaction.Private.Transaction
  exposed-modules:
    Hasql.Transaction
    Hasql.Transaction.Sessions
  build-depends:
    -- database:
    hasql >= 0.17 && < 0.20,
    -- data:
    bytestring-tree-builder >= 0.1 && < 0.3,
    bytestring >= 0.10 && < 0.11,
    -- control:
    contravariant >= 1.3 && < 2,
    contravariant-extras >= 0.3 && < 0.4,
    mtl >= 2 && < 3,
    transformers >= 0.3 && < 0.6,
    -- general:
    base-prelude >= 0.1.19 && < 2,
    base >= 4.6 && < 5


test-suite conflicts-test
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    conflicts-test
  main-is:
    Main.hs
  other-modules:
    Main.Queries
    Main.Transactions
  ghc-options:
    -O2
    -threaded
    "-with-rtsopts=-N"
  default-extensions:
    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language:
    Haskell2010
  build-depends:
    hasql-transaction,
    hasql,
    async >= 2.1 && < 3,
    rebase < 2