File: MissingH.cabal

package info (click to toggle)
missingh 1.6.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 684 kB
  • sloc: haskell: 5,472; makefile: 2
file content (213 lines) | stat: -rw-r--r-- 4,662 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
cabal-version: 1.24
name: MissingH
version: 1.6.0.2

build-type: Simple
license: BSD3
author: John Goerzen
copyright: Copyright (c) 2004-2018 John Goerzen
maintainer: Andreas Abel
license-file: LICENSE

tested-with:
  GHC == 9.12.1
  GHC == 9.10.1
  GHC == 9.8.4
  GHC == 9.6.6
  GHC == 9.4.8
  GHC == 9.2.8
  GHC == 9.0.2
  GHC == 8.10.7
  GHC == 8.8.4
  GHC == 8.6.5
  GHC == 8.4.4
  GHC == 8.2.2
  GHC == 8.0.2

synopsis: Large utility library
description:
  @MissingH@ is a library of all sorts of utility functions for Haskell
  programmers.  It is written in pure Haskell and thus should be
  extremely portable and easy to use.
category: Unclassified
bug-reports: https://github.com/haskell-hvr/missingh/issues

extra-doc-files:
  CHANGES.md
  LICENSE
  announcements/0.10.0.txt
  announcements/0.8.0.txt
  announcements/0.9.0.txt
  3rd-party-licenses/BSD
  3rd-party-licenses/LGPL-2.1

extra-source-files:
  testsrc/gzfiles/empty.gz
  testsrc/gzfiles/t1.gz
  testsrc/gzfiles/t1bad.gz
  testsrc/gzfiles/t2.gz
  testsrc/gzfiles/zeros.gz
  testsrc/mime.types.test
  examples/simplegrep.hs
  examples/test2.hs
  examples/test3.hs

flag network--GE-3_0_0
  description: [network](http://hackage.haskell.org/package/network) ≥ 3.0.0
  default: True
  manual: False

source-repository head
  type: git
  location: https://github.com/haskell-hvr/missingh.git

library
  hs-source-dirs: src
  exposed-modules:
    Control.Concurrent.Thread.Utils
    Data.BinPacking
    Data.Bits.Utils
    Data.CSV
    Data.Compression.Inflate
    Data.Either.Utils
    Data.Hash.CRC32.GZip
    Data.Hash.MD5
    Data.Hash.MD5.Zord64_HARD
    Data.List.Utils
    Data.MIME.Types
    Data.Map.Utils
    Data.Maybe.Utils
    Data.Progress.Meter
    Data.Progress.Tracker
    Data.Quantity
    Data.String.Utils
    Data.Tuple.Utils
    Network.Email.Mailbox
    Network.Email.Sendmail
    Network.SocketServer
    Network.Utils
    System.Cmd.Utils
    System.Console.GetOpt.Utils
    System.Daemon
    System.Debian
    System.Debian.ControlParser
    System.FileArchive.GZip
    System.IO.Binary
    System.IO.HVFS
    System.IO.HVFS.Combinators
    System.IO.HVFS.InstanceHelpers
    System.IO.HVFS.Utils
    System.IO.HVIO
    System.IO.PlafCompat
    System.IO.StatCompat
    System.IO.Utils
    System.IO.WindowsCompat
    System.Path
    System.Path.Glob
    System.Path.NameManip
    System.Path.WildMatch
    System.Posix.Consts
    System.Time.Utils
    Text.ParserCombinators.Parsec.Utils

  default-language: Haskell2010
  default-extensions:
    ExistentialQuantification
    FlexibleContexts
    FlexibleInstances
    LambdaCase
    MultiParamTypeClasses
    Rank2Types
    ScopedTypeVariables
    UndecidableInstances
  other-extensions:
    CPP
    Safe
    Trustworthy
    TypeSynonymInstances

  build-depends:
      array               >= 0.4.0.0 && < 0.6
    , base                >= 4.9     && < 5
    , containers          >= 0.4.2.1 && < 1
    , directory           >= 1.1.0.2 && < 1.4
    , filepath            >= 1.3.0.0 && < 1.6
    , hslogger            >= 1.3.0.0 && < 1.4
    , mtl                 >= 1.1.1.0 && < 2.4
    , old-locale          == 1.0.*
    , old-time            == 1.1.*
    , parsec              == 3.1.*   && (< 3.1.12 || >= 3.1.13)
    , process             >= 1.1.0.1 && < 1.7
    , regex-compat        >= 0.95.1  && < 0.96
    , time                >= 1.4     && < 1.15

  if flag(network--GE-3_0_0)
    build-depends: network-bsd >= 2.8.1 && <2.9,
                   network >= 3.0 && <3.3
  else
    build-depends: network >= 2.6.3.1 && <2.9

  if !os(windows)
    build-depends: unix   >= 2.5.1.0 && < 2.9

  ghc-options:
      -Wall
      -Wcompat

----------------------------------------------------------------------------

test-suite runtests
  type: exitcode-stdio-1.0

  hs-source-dirs: testsrc
  main-is: runtests.hs
  other-modules:
    TestUtils

    Bitstest
    CRC32GZIPtest
    Eithertest
    GZiptest
    Globtest
    HVFStest
    HVIOtest
    IOtest
    Listtest
    MIMETypestest
    Maptest
    Pathtest
    ProgressTrackertest
    Str.CSVtest
    Strtest
    Tests
    Timetest
    WildMatchtest

  default-language: Haskell2010
  other-extensions:
    CPP

  -- intra-package dependency
  build-depends: MissingH

  -- deps with version bounds inherited via lib:MissingH component
  build-depends:
      base
    , containers
    , directory
    , filepath
    , old-time
    , parsec
    , regex-compat
    , time

  if !os(windows)
    build-depends: unix

  -- additional testsuite-specific dependencies
  build-depends:
      HUnit                  == 1.6.*

  ghc-options:
      -Wall
      -Wcompat