packages feed

streamly-lmdb-0.8.0: streamly-lmdb.cabal

cabal-version:  3.0
name:           streamly-lmdb
version:        0.8.0
synopsis:       Stream data to or from LMDB databases using the streamly library.
description:    Please see the README on GitHub at <https://github.com/shlok/streamly-lmdb#readme>
category:       Database, Streaming, Streamly
homepage:       https://github.com/shlok/streamly-lmdb
bug-reports:    https://github.com/shlok/streamly-lmdb/issues
author:         Shlok Datye
maintainer:     sd-haskell@quant.is
copyright:      2024 Shlok Datye
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/shlok/streamly-lmdb

library
  exposed-modules:
      Streamly.External.LMDB
      Streamly.External.LMDB.Internal
      Streamly.External.LMDB.Internal.Error
      Streamly.External.LMDB.Internal.Foreign
  other-modules:
      Paths_streamly_lmdb
  autogen-modules:
      Paths_streamly_lmdb
  hs-source-dirs:
      src
  ghc-options: -Wall
  include-dirs:
      src/Streamly/External/LMDB/Internal
  install-includes:
      src/Streamly/External/LMDB/Internal/streamly_lmdb_foreign.h
  c-sources:
      src/Streamly/External/LMDB/Internal/streamly_lmdb_foreign.c
  extra-libraries:
      lmdb
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10.10.0 && <0.12
    , containers >=0.6.5.1 && <0.7
    , directory >=1.3.6.0 && <1.4
    , lifted-base >=0.2.3.12 && <0.3
    , monad-control >=1.0.3.1 && <1.1
    , safe-exceptions >=0.1.7.3 && <0.2
    , stm >=2.5.0.2 && <2.6
    , streamly >=0.10.0 && <0.11
    , streamly-core >=0.2.0 && <0.3
  default-language: Haskell2010

test-suite streamly-lmdb-test
  type: exitcode-stdio-1.0
  main-is: TestSuite.hs
  other-modules:
      ReadmeMain
      Streamly.External.LMDB.Tests
      Paths_streamly_lmdb
  autogen-modules:
      Paths_streamly_lmdb
  hs-source-dirs:
      test
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  extra-libraries:
      lmdb
  build-depends:
      async >=2.2.2 && <2.3
    , base >=4.7 && <5
    , bytestring >=0.10.10.0 && <0.12
    , cereal >=0.5.8.3 && <0.6
    , containers >=0.6.5.1 && <0.7
    , directory >=1.3.6.0 && <1.4
    , mtl >=2.3.1 && <2.4
    , QuickCheck >=2.13.2 && <2.15
    , random >=1.2.1.2 && <1.3
    , streamly >=0.10.0 && <0.11
    , streamly-core >=0.2.0 && <0.3
    , streamly-lmdb
    , tasty >=1.2.3 && <1.5
    , tasty-hunit >=0.10.0.3 && <0.11
    , tasty-quickcheck >=0.10.1.1 && <0.11
    , temporary >=1.3 && <1.4
    , transformers >=0.6.0.2 && <0.7
    , vector >=0.12.3.1 && <0.14
  default-language: Haskell2010