File: happstack-util.cabal

package info (click to toggle)
haskell-happstack-util 0.5.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 188 kB
  • sloc: haskell: 1,348; makefile: 2
file content (98 lines) | stat: -rw-r--r-- 3,315 bytes parent folder | download
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Name:                happstack-util
Version:             0.5.0.2
Synopsis:            Web framework
License:             BSD3
License-file:        COPYING
Author:              Happstack team, HAppS LLC
Maintainer:          Happstack team <happs@googlegroups.com>
homepage:            http://happstack.com
Category:            Web, Distributed Computing
Description:         Miscellaneous utilities for Happstack packages.
Build-type:          Simple
Cabal-version:       >=1.6

source-repository head
    type:     darcs
    subdir:   happstack-util
    location: http://patch-tag.com/r/mae/happstack/pullrepo

Flag base4
    Description: Choose the even newer, even smaller, split-up base package.

Flag tests
    Description: Build the testsuite, and include the tests in the library
    Default: False

Library
  Build-Depends:       array,
                       bytestring,
                       directory,
                       extensible-exceptions, 
                       hslogger >= 1.0.2,
                       mtl,
                       old-locale,
                       old-time,
                       parsec < 4,
                       process,
                       time,
                       random,
                       SMTPClient >= 1.0.2 && < 1.1,
                       strict-concurrency,
                       network >= 2.2 && < 3,
                       template-haskell,
                       unix-compat,
                       filepath
  if flag(base4)
    Build-Depends:       base >= 4 && < 5
  else
    Build-Depends:       base < 4
    
  if !os(windows)
    build-depends: unix
    
  hs-source-dirs:      src
  if flag(tests)
    hs-source-dirs:    tests
  Exposed-modules:     
                       Happstack.Crypto.Base64,
                       Happstack.Crypto.DES,
                       Happstack.Crypto.HMAC,
                       Happstack.Crypto.SHA1,
                       Happstack.Crypto.MD5,
                       Happstack.Crypto.W64,
                       Happstack.Util.AutoBuild,
                       Happstack.Util.ByteStringCompat,
                       Happstack.Util.Common,
                       Happstack.Util.Concurrent,
                       Happstack.Util.Cron,
                       Happstack.Util.Daemonize,
                       Happstack.Util.HostAddress,
                       Happstack.Util.LogFormat,
                       Happstack.Util.Mail,
                       Happstack.Util.OpenExclusively,
                       Happstack.Util.TimeOut,
                       Happstack.Util.TH,
                       Happstack.Util.FileManip
  if flag(tests)
    Build-Depends:
                       QuickCheck >= 2 && < 3,
                       HUnit
    Exposed-modules:   Happstack.Util.Testing,
                       Happstack.Util.Tests,
                       Happstack.Util.Tests.HostAddress

  extensions:          CPP, UndecidableInstances, BangPatterns, StandaloneDeriving,
                       DeriveDataTypeable, TemplateHaskell, RecursiveDo
  ghc-options:         -Wall
  GHC-Prof-Options:    -auto-all

Executable happstack-util-tests
  Main-Is: Test.hs
  GHC-Options: -threaded
  hs-source-dirs: tests, src
  if flag(tests)
    Buildable: True
    Build-Depends: network, HUnit
  else
    Buildable: False