packages feed

relocant-1.1.0: relocant.cabal

cabal-version: 2.0

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

name:           relocant
version:        1.1.0
synopsis:       A PostgreSQL migration CLI tool and library
description:    relocant documentation is at https://github.com/supki/relocant
author:         Matvey Aksenov
maintainer:     matvey.aksenov@gmail.com
copyright:      2024 Matvey Aksenov
license:        BSD2
license-file:   LICENSE
build-type:     Custom
extra-doc-files:
    README.markdown
    CHANGELOG.markdown

custom-setup
  setup-depends:
      Cabal ==3.10.*
    , base >=4.18 && <5
    , directory
    , filepath
    , process

library
  exposed-modules:
      Relocant
      Relocant.App
      Relocant.App.Env
      Relocant.App.Log
      Relocant.App.Opts
      Relocant.App.Opts.Fmt
      Relocant.App.Opts.Internal
      Relocant.App.Opts.Option
      Relocant.App.ToText
      Relocant.Applied
      Relocant.At
      Relocant.Checksum
      Relocant.Content
      Relocant.DB
      Relocant.DB.Table
      Relocant.Duration
      Relocant.ID
      Relocant.Merge
      Relocant.Name
      Relocant.Script
      Meta_relocant
  other-modules:
      Paths_relocant
  autogen-modules:
      Paths_relocant
      Meta_relocant
  hs-source-dirs:
      src
  default-extensions:
      ImportQualifiedPost
      NoFieldSelectors
      OverloadedStrings
      OverloadedRecordDot
      StrictData
  ghc-options: -funbox-strict-fields -Wall -Wcompat -Wno-incomplete-uni-patterns
  build-depends:
      aeson
    , base >=4.18 && <5
    , bytestring
    , crypton
    , directory
    , envparse
    , filepath
    , memory
    , optparse-applicative
    , postgresql-simple
    , process
    , text
    , time
  default-language: Haskell2010

executable relocant
  main-is: Main.hs
  other-modules:
      Paths_relocant
  autogen-modules:
      Paths_relocant
  hs-source-dirs:
      driver
  default-extensions:
      ImportQualifiedPost
      NoFieldSelectors
      OverloadedStrings
      OverloadedRecordDot
      StrictData
  ghc-options: -Wall -Wcompat -Wno-incomplete-uni-patterns -threaded -with-rtsopts=-N
  build-depends:
      base >=4.18 && <5
    , relocant
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Relocant.App.ToTextSpec
      Relocant.AppliedSpec
      Relocant.DurationSpec
      Relocant.MergeSpec
      Relocant.ScriptSpec
      Spec
      SpecHelper.DB
      Paths_relocant
  autogen-modules:
      Paths_relocant
  hs-source-dirs:
      test
  default-extensions:
      ImportQualifiedPost
      NoFieldSelectors
      OverloadedStrings
      OverloadedRecordDot
      StrictData
  ghc-options: -freduction-depth=0 -Wall -Wcompat -Wno-incomplete-uni-patterns -threaded -with-rtsopts=-N
  build-depends:
      base >=4.18 && <5
    , bytestring
    , filepath
    , hspec
    , postgresql-simple
    , random
    , relocant
    , temporary
    , text
  default-language: Haskell2010