packages feed

ftp-client-0.6.0.0: ftp-client.cabal

cabal-version: 1.12

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

name:           ftp-client
version:        0.6.0.0
synopsis:       Transfer files with FTP and FTPS
description:    ftp-client is a library for communicating with an FTP server. It works over both a clear channel or TLS.
category:       Web
homepage:       https://github.com/flipstone/ftp-client
author:         Megan Robinson
maintainer:     Flipstone Technology Partners
license:        PublicDomain
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.2.8
  , GHC == 9.4.8
  , GHC == 9.6.7
  , GHC == 9.8.4
  , GHC == 9.10.3
  , GHC == 9.12.4
extra-source-files:
    README.md
    CHANGELOG.md
    henforcer.toml

source-repository head
  type: git
  location: https://github.com/flipstone/ftp-client

flag ci
  description: More strict ghc options used for development and ci, not intended for end-use.
  manual: True
  default: False

library
  exposed-modules:
      Network.FTP.Client
  other-modules:
      Paths_ftp_client
  hs-source-dirs:
      src
  default-extensions:
      OverloadedStrings
  build-depends:
      attoparsec >=0.10 && <0.15
    , base >=4.16 && <5
    , bytestring >=0.10.8.2 && <0.13
    , containers >=0.5.11.0 && <0.8
    , crypton-connection >=0.3 && <0.5
    , data-default-class >=0.1.2.0 && <0.3
    , exceptions >=0.10.3 && <0.11
    , network >=2.6.3.6 && <3.3
  default-language: Haskell2010
  if flag(ci)
    ghc-options: -O2 -Wall -Werror -Wcompat -Widentities -Winvalid-haddock -Wmissing-local-signatures -Wmissing-export-lists -Wpartial-fields -Wmissed-specialisations -Wno-implicit-prelude -Wno-safe -Wno-unsafe -Wunused-packages
    if impl (ghc < 9.4)
      ghc-options: -Wno-unticked-promoted-constructors
    if impl (ghc >= 9.4)
      ghc-options: -Wimplicit-lift -Woperator-whitespace -Wredundant-bang-patterns -Wredundant-strictness-flags
    if impl (ghc >= 9.8)
      ghc-options: -Wincomplete-export-warnings -Wmissing-poly-kind-signatures -Wterm-variable-capture
    if impl (ghc >= 9.10)
      ghc-options: -Wdefaulted-exception-context
    if impl (ghc >= 9.6)
      ghc-options: -fplugin Henforcer
      build-depends:
          henforcer

test-suite ftp-client-test
  type: exitcode-stdio-1.0
  main-is: test.hs
  other-modules:
      Paths_ftp_client
  hs-source-dirs:
      test
  build-depends:
      base >=4.16 && <5
    , bytestring >=0.10.8.2 && <0.13
    , crypton-connection >=0.3 && <0.5
    , directory ==1.3.*
    , ftp-client
    , hspec >=2.7
  default-language: Haskell2010
  if flag(ci)
    ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror -Wcompat -Widentities -Winvalid-haddock -Wmissing-local-signatures -Wmissing-export-lists -Wpartial-fields -Wmissed-specialisations -Wno-implicit-prelude -Wno-safe -Wno-unsafe
    if impl (ghc < 9.4)
      ghc-options: -Wno-unticked-promoted-constructors
    if impl (ghc >= 9.4)
      ghc-options: -Wimplicit-lift -Woperator-whitespace -Wredundant-bang-patterns -Wredundant-strictness-flags
    if impl (ghc >= 9.8)
      ghc-options: -Wincomplete-export-warnings -Wmissing-poly-kind-signatures -Wterm-variable-capture
    if impl (ghc >= 9.10)
      ghc-options: -Wdefaulted-exception-context
  else
    ghc-options: -threaded -rtsopts -with-rtsopts=-N