name:               persistent-test
version:            2.13.1.4
license:            MIT
license-file:       LICENSE
author:             Michael Snoyman <michael@snoyman.com>
maintainer:         Michael Snoyman <michael@snoyman.com>
synopsis:           Tests for Persistent
description:
  Tests for Persistent. This is only for use in developing libraries that should conform to the persistent interface, not for users of the persistent suite of database libraries.

category:           Database, Yesod
stability:          Stable
cabal-version:      >=1.10
build-type:         Simple
homepage:           http://www.yesodweb.com/book/persistent
bug-reports:        https://github.com/yesodweb/persistent/issues
extra-source-files: ChangeLog.md

library
  exposed-modules:
    CompositeTest
    CustomPersistField
    CustomPersistFieldTest
    CustomPrimaryKeyReferenceTest
    DataTypeTest
    EmbedOrderTest
    EmbedTest
    EmptyEntityTest
    EntityEmbedTest
    EquivalentTypeTest
    ForeignKey
    GeneratedColumnTestSQL
    HtmlTest
    Init
    LargeNumberTest
    LongIdentifierTest
    MaxLenTest
    MaybeFieldDefsTest
    MigrationColumnLengthTest
    MigrationIdempotencyTest
    MigrationOnlyTest
    MigrationTest
    MpsCustomPrefixTest
    MpsNoPrefixTest
    PersistentTest
    PersistentTestModels
    PersistentTestModelsImports
    PersistTestPetCollarType
    PersistTestPetType
    PersistUniqueTest
    PrimaryTest
    RawSqlTest
    ReadWriteTest
    Recursive
    RenameTest
    SumTypeTest
    TransactionLevelTest
    TreeTest
    TypeLitFieldDefsTest
    UniqueTest
    UpsertTest

  hs-source-dirs:     src
  build-depends:
      aeson                 >=1.0
    , base                  >=4.9    && <5
    , blaze-html            >=0.9
    , bytestring            >=0.10
    , conduit               >=1.2.12
    , containers            >=0.5
    , exceptions            >=0.8
    , hspec                 >=2.4
    , hspec-expectations
    , http-api-data
    , HUnit
    , monad-control
    , monad-logger          >=0.3.25
    , mtl
    , path-pieces           >=0.2
    , persistent            >=2.14   && <2.18
    , QuickCheck            >=2.9
    , quickcheck-instances  >=0.3
    , random                >=1.1
    , resourcet             >=1.1
    , text                  >=1.2
    , time                  >=1.6
    , transformers          >=0.5
    , transformers-base
    , unliftio
    , unliftio-core
    , unordered-containers

  default-language:   Haskell2010
  default-extensions:
    DataKinds
    DerivingStrategies
    ExistentialQuantification
    FlexibleContexts
    FlexibleInstances
    GeneralizedNewtypeDeriving
    MultiParamTypeClasses
    OverloadedStrings
    QuasiQuotes
    StandaloneDeriving
    TemplateHaskell
    TypeFamilies

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