packages feed

persistent-mtl-0.1.0.0: persistent-mtl.cabal

cabal-version: 1.12

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

name:           persistent-mtl
version:        0.1.0.0
synopsis:       Monad transformer for the persistent API
description:    A monad transformer and mtl-style type class for using the
                persistent API directly in your monad transformer stack.
category:       Database
homepage:       https://github.com/brandonchinn178/persistent-mtl#readme
bug-reports:    https://github.com/brandonchinn178/persistent-mtl/issues
maintainer:     Brandon Chinn <brandonchinn178@gmail.com>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    README.md
    test/goldens/persistent-2.10/sqlqueryrep_show_representation.golden
    test/goldens/persistent-2.11/sqlqueryrep_show_representation.golden
    test/goldens/persistent-2.8/sqlqueryrep_show_representation.golden
    test/goldens/persistent-2.9/sqlqueryrep_show_representation.golden

source-repository head
  type: git
  location: https://github.com/brandonchinn178/persistent-mtl

library
  exposed-modules:
      Database.Persist.Monad
      Database.Persist.Monad.Class
      Database.Persist.Monad.Shim
      Database.Persist.Monad.SqlQueryRep
      Database.Persist.Monad.TestUtils
  other-modules:
      Paths_persistent_mtl
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.10 && <5
    , conduit >=1.3.0.3 && <2
    , containers >=0.5.10.2 && <0.7
    , mtl >=2.2.2 && <3
    , persistent >=2.8.2 && <3
    , resource-pool >=0.2.3.2 && <0.3
    , resourcet >=1.2.1 && <2
    , resourcet-pool >=0.1.0.0 && <0.2
    , text >=1.2.3.0 && <2
    , transformers >=0.5.2.0 && <0.6
    , unliftio-core >=0.1.2.0 && <0.3
  default-language: Haskell2010

test-suite persistent-mtl-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Example
      Generated
      Integration
      Mocked
      MockSqlQueryT
      SqlQueryRepTest
      TestUtils.Match
      Paths_persistent_mtl
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base
    , bytestring
    , conduit
    , containers
    , monad-logger
    , persistent
    , persistent-mtl
    , persistent-sqlite
    , persistent-template
    , resourcet
    , tasty
    , tasty-golden
    , tasty-hunit
    , text
    , unliftio
  default-language: Haskell2010