packages feed

libmdbx-0.2.0.0: libmdbx.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name:           libmdbx
version:        0.2.0.0
synopsis:       Bindings for libmdbx, an embedded key/value store
description:    Haskell bindings for [libmdbx](https://github.com/erthink/libmdbx).
                .
                See documentation in the main module or check the
                <https://github.com/fjvallarino/libmdbx-hs#readme README>
                on GitHub.
category:       Database
homepage:       https://github.com/fjvallarino/libmdbx-hs#readme
bug-reports:    https://github.com/fjvallarino/libmdbx-hs/issues
author:         Francisco Vallarino
maintainer:     fjvallarino@gmail.com
copyright:      2021 Francisco Vallarino
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/fjvallarino/libmdbx-hs

library
  exposed-modules:
      Mdbx
      Mdbx.API
      Mdbx.Binary
      Mdbx.Database
      Mdbx.FFI
      Mdbx.Store
      Mdbx.Types
  other-modules:
      Paths_libmdbx
  hs-source-dirs:
      src
  include-dirs:
      cbits/libmdbx
  install-includes:
      cbits/libmdbx/mdbx.h
  c-sources:
      cbits/libmdbx/mdbx.c
  build-tools:
      c2hs
  build-depends:
      base >=4.12 && <5
    , binary >=0.8 && <0.11
    , bytestring >=0.10 && <0.12
    , data-default >=0.5 && <0.8
    , mtl >=2.1 && <2.3
    , store >=0.5 && <0.8
    , store-core ==0.4.*
    , text ==1.2.*
  default-language: Haskell2010

executable libmdbx-exe
  main-is: Main.hs
  other-modules:
      Paths_libmdbx
  hs-source-dirs:
      app
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.12 && <5
    , binary >=0.8 && <0.11
    , bytestring >=0.10 && <0.12
    , data-default >=0.5 && <0.8
    , libmdbx
    , mtl >=2.1 && <2.3
    , store >=0.5 && <0.8
    , store-core ==0.4.*
    , text ==1.2.*
  default-language: Haskell2010

test-suite libmdbx-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Mdbx.ConversionSpec
      Mdbx.DatabaseSpec
      TestUtil
      Paths_libmdbx
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit ==1.6.*
    , base >=4.12 && <5
    , binary >=0.8 && <0.11
    , bytestring >=0.10 && <0.12
    , data-default >=0.5 && <0.8
    , directory ==1.3.*
    , hspec >=2.4 && <3.0
    , libmdbx
    , mtl >=2.1 && <2.3
    , store >=0.5 && <0.8
    , store-core ==0.4.*
    , text ==1.2.*
  default-language: Haskell2010