packages feed

ftphs-1.0.9.2: ftphs.cabal

Name: ftphs
Version: 1.0.9.2
License: LGPL
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Stability: Stable
Copyright: Copyright (c) 2004-2017 John Goerzen
license-file: COPYRIGHT
extra-source-files: COPYING,
                    Makefile,
                    examples/ftptest.hs
Homepage: http://software.complete.org/ftphs
Category: Network
Synopsis: FTP Client and Server Library
Description: ftphs provides a Haskell library to implement a FTP client
 and a FTP server.
 .
 ftphs has a number of features:
 .
 * Easy to use operation.
 .
 * Full support of text and binary transfers.
 .
 * Optional lazy interaction.
 .
 * Server can serve up a real or a virtual filesystem tree.
 .
 * Standards compliant.

Build-Type: Simple
Cabal-Version: >=1.2.3

Flag buildtests
  description: Build the executable to run unit tests
  default: False

Library
  Hs-Source-Dirs: src
  Exposed-Modules: Network.FTP.Client,
    Network.FTP.Client.Parser,
    Network.FTP.Server,
    Network.FTP.Server.Parser
  Extensions: ExistentialQuantification, OverlappingInstances, 
   UndecidableInstances, CPP, ScopedTypeVariables
  Build-Depends: network, parsec, base >= 3 && < 5,
                 mtl, regex-compat, 
               hslogger, MissingH>=1.0.0, bytestring
  GHC-Options: -O2

Executable runtests
  if flag(buildtests)
    Buildable: True
    Build-Depends: HUnit
  else
    Buildable: False
  Main-Is: runtests.hs
  Other-Modules: Tests, Network.FTP.Parsertest
  HS-Source-Dirs: testsrc, src, .
  Extensions: ExistentialQuantification, OverlappingInstances,
    UndecidableInstances, CPP