packages feed

hasql-mover-0.1.1: hasql-mover.cabal

cabal-version:   3.0
name:            hasql-mover
version:         0.1.1
synopsis:        Hasql migrations library
description:
  A SQL renovator and removalist; a library for performing SQL migrations using
  Hasql, including an easy CLI for viewing and running migrations. Migrations are
  declared in-code as quasi-quoted SQL, and chained together in a type-level
  list of migrations.

license:         BSD-3-Clause
license-file:    LICENSE
author:          Mike Ledger
maintainer:      eleventynine@gmail.com
category:        Database
build-type:      Simple
extra-doc-files: CHANGELOG.md

library
  exposed-modules:    Hasql.Mover
  build-depends:
    , base                         >=4.16 && <4.20
    , hasql                        ^>=1.6
    , hasql-th                     ^>=0.4
    , hasql-transaction            >=1.0  && <1.2
    , megaparsec                   >=9.0  && <10
    , optparse-applicative         >=0.17 && <0.19
    , prettyprinter                >=1.7  && <1.9
    , prettyprinter-ansi-terminal  ^>=1.1
    , resourcet                    >=1.2  && <1.4
    , sop-core
    , template-haskell
    , text
    , time
    , transformers                 >=0.5  && <0.7

  hs-source-dirs:     src
  default-language:   GHC2021
  default-extensions:
    AllowAmbiguousTypes
    BangPatterns
    BlockArguments
    ConstraintKinds
    DataKinds
    DefaultSignatures
    DeriveAnyClass
    DeriveDataTypeable
    DeriveFoldable
    DeriveFunctor
    DeriveGeneric
    DeriveLift
    DeriveTraversable
    DerivingStrategies
    DerivingVia
    DuplicateRecordFields
    EmptyCase
    EmptyDataDecls
    EmptyDataDeriving
    ExistentialQuantification
    ExplicitForAll
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTSyntax
    GeneralisedNewtypeDeriving
    ImportQualifiedPost
    InstanceSigs
    KindSignatures
    LambdaCase
    MultiParamTypeClasses
    MultiWayIf
    NamedFieldPuns
    NoFieldSelectors
    NoStarIsType
    NumericUnderscores
    OverloadedLabels
    OverloadedLists
    OverloadedStrings
    PackageImports
    PartialTypeSignatures
    PatternSynonyms
    PolyKinds
    PostfixOperators
    QuasiQuotes
    RankNTypes
    RecordWildCards
    ScopedTypeVariables
    StandaloneDeriving
    StandaloneKindSignatures
    StrictData
    TemplateHaskell
    TupleSections
    TypeApplications
    TypeFamilies
    TypeFamilyDependencies
    TypeOperators
    UndecidableInstances
    ViewPatterns

  ghc-options:        -Wall