packages feed

hasbolt-0.1.4.5: hasbolt.cabal

cabal-version: >=1.10
name:          hasbolt
version:       0.1.4.5
license:       BSD3
license-file:  LICENSE
copyright:     (c) 2018 Pavel Yakovlev
maintainer:    pavel@yakovlev.me
author:        Pavel Yakovlev, Martin Heuschober
homepage:      https://github.com/zmactep/hasbolt#readme
synopsis:      Haskell driver for Neo4j 3+ (BOLT protocol)
description:
    Haskell driver for Neo4j 3+ (BOLT protocol).
    .
    The package covers:
    .
    -Data serialization and deserialization
    .
    -Nodes, relationships and paths support
    .
    -Cypher queries and responses
    .
    -Authentification
    .
    -TLS/SSL connection
    .
    The code was tested with neo4j versions 3.0 — 3.4 and GrapheneDB service

category:      Database
build-type:    Simple

source-repository head
    type:     git
    location: https://github.com/zmactep/hasbolt

library
    exposed-modules:
        Database.Bolt
        Database.Bolt.Lazy
        Database.Bolt.Lens
        Database.Bolt.Serialization

    hs-source-dirs:   src
    other-modules:
        Database.Bolt.Value.Type
        Database.Bolt.Value.Helpers
        Database.Bolt.Value.Instances
        Database.Bolt.Connection.Connection
        Database.Bolt.Connection.Type
        Database.Bolt.Connection.Instances
        Database.Bolt.Connection.Pipe
        Database.Bolt.Connection
        Database.Bolt.Record
        Database.Bolt.Transaction

    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base >=4.7 && <5,
        bytestring >=0.10.8.1 && <0.12,
        text >=1.2.2.1 && <1.3,
        containers >=0.5.7.1 && <0.7,
        binary >=0.8.3.0 && <1.0,
        data-binary-ieee754 >=0.4.4 && <0.5,
        mtl >=2.2.0 && <2.3,
        network >=2.6.3.1 && <3.2,
        connection >=0.2.8 && <0.4,
        data-default >=0.7.1.1 && <0.8

    if impl(ghc <8.6)
        build-depends: contravariant >=1.4.1 && <1.6

    if impl(ghc <8.0)
        build-depends: fail >=4.9 && <5

test-suite hasbolt-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    other-modules:    Hex
    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        base >=4.8 && <5,
        hasbolt -any,
        hspec >=2.4.1 && <2.8,
        QuickCheck >=2.9 && <2.15,
        text >=1.2.4.1 && <1.3,
        containers >=0.6.2.1 && <0.7,
        bytestring >=0.10.12.0 && <0.11