File: ftphs.cabal

package info (click to toggle)
ftphs 1.0.9.1-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 196 kB
  • sloc: haskell: 983; makefile: 32
file content (56 lines) | stat: -rw-r--r-- 1,594 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Name: ftphs
Version: 1.0.9.1
License: LGPL
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Stability: Stable
Copyright: Copyright (c) 2004-2013 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
  GHC-Options: -O2

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