packages feed

hsftp-1.4.0: hsftp.cabal

cabal-version:      2.2
name:               hsftp
version:            1.4.0
license:            BSD-3-Clause
license-file:       LICENSE
copyright:          (c) 2024-present IOcrafts
maintainer:         Maurizio Dusi
author:             Maurizio Dusi
homepage:           https://iocrafts.github.io/hsftp/
bug-reports:        https://github.com/iocrafts/hsftp/issues
synopsis:           A SFTP client tool for secure file transfer operations
description:
    Hsftp is a command-line tool for secure file transfer operations

category:           Utils, Network
build-type:         Simple
extra-source-files: README.md
extra-doc-files:    CHANGELOG.md

source-repository head
    type:     git
    location: https://github.com/iocrafts/hsftp

library
    exposed-modules:
        CmdOptions
        Commands
        Config
        Options
        Reader
        Util

    pkgconfig-depends:  libssh2
    hs-source-dirs:     src
    other-modules:      Paths_hsftp
    autogen-modules:    Paths_hsftp
    default-language:   Haskell2010
    default-extensions: RecordWildCards
    ghc-options:
        -Wall -Wcompat -Widentities -Wincomplete-record-updates
        -Wincomplete-uni-patterns -Wmissing-export-lists
        -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints

    build-depends:
        aeson >=2.2.3.0 && <2.3,
        base >=4.7 && <5,
        bytestring >=0.12.1.0 && <0.13,
        cmdargs >=0.10.22 && <0.11,
        directory >=1.3.8.5 && <1.4,
        filepath >=1.4.301.0 && <1.5,
        libssh2 >=0.2.0.9 && <0.3,
        mtl >=2.3.1 && <2.4,
        time >=1.12.2 && <1.13,
        yaml >=0.11.11.2 && <0.12

executable hsftp
    main-is:            Main.hs
    pkgconfig-depends:  libssh2
    hs-source-dirs:     app
    other-modules:      Paths_hsftp
    autogen-modules:    Paths_hsftp
    default-language:   Haskell2010
    default-extensions: RecordWildCards
    ghc-options:
        -Wall -Wcompat -Widentities -Wincomplete-record-updates
        -Wincomplete-uni-patterns -Wmissing-export-lists
        -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
        -threaded -rtsopts -with-rtsopts=-N

    build-depends:
        aeson >=2.2.3.0 && <2.3,
        base >=4.7 && <5,
        bytestring >=0.12.1.0 && <0.13,
        cmdargs >=0.10.22 && <0.11,
        directory >=1.3.8.5 && <1.4,
        filepath >=1.4.301.0 && <1.5,
        hsftp,
        libssh2 >=0.2.0.9 && <0.3,
        mtl >=2.3.1 && <2.4,
        time >=1.12.2 && <1.13,
        yaml >=0.11.11.2 && <0.12

test-suite hsftp-test
    type:               exitcode-stdio-1.0
    main-is:            Spec.hs
    pkgconfig-depends:  libssh2
    hs-source-dirs:     test
    other-modules:
        TestCommands
        TestReader
        TestUtil
        Paths_hsftp

    autogen-modules:    Paths_hsftp
    default-language:   Haskell2010
    default-extensions: RecordWildCards
    ghc-options:
        -Wall -Wcompat -Widentities -Wincomplete-record-updates
        -Wincomplete-uni-patterns -Wmissing-export-lists
        -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
        -threaded -rtsopts -with-rtsopts=-N

    build-depends:
        aeson >=2.2.3.0 && <2.3,
        base >=4.7 && <5,
        bytestring >=0.12.1.0 && <0.13,
        cmdargs >=0.10.22 && <0.11,
        directory >=1.3.8.5 && <1.4,
        filepath >=1.4.301.0 && <1.5,
        hsftp,
        libssh2 >=0.2.0.9 && <0.3,
        mtl >=2.3.1 && <2.4,
        tasty >=1.5.3 && <1.6,
        tasty-hunit >=0.10.2 && <0.11,
        tasty-quickcheck >=0.11 && <0.12,
        tasty-smallcheck >=0.8.2 && <0.9,
        temporary >=1.3 && <1.4,
        time >=1.12.2 && <1.13,
        yaml >=0.11.11.2 && <0.12