Relax upper bound to allow time-1.6 release
[packages/unix.git] / unix.cabal
1 name:           unix
2 version:        2.7.1.1
3 -- NOTE: Don't forget to update ./changelog.md
4 license:        BSD3
5 license-file:   LICENSE
6 maintainer:     libraries@haskell.org
7 homepage:       https://github.com/haskell/unix
8 bug-reports:    https://github.com/haskell/unix/issues
9 synopsis:       POSIX functionality
10 category:       System
11 build-type:     Configure
12 cabal-version:  >= 1.10
13 tested-with:    GHC>=7.4.1
14 description:
15     This package gives you access to the set of operating system
16     services standardised by POSIX 1003.1b (or the IEEE Portable
17     Operating System Interface for Computing Environments -
18     IEEE Std. 1003.1).
19     .
20     The package is not supported under Windows (except under Cygwin).
21
22 extra-source-files:
23     changelog.md
24     config.guess
25     config.sub
26     configure
27     configure.ac
28     include/HsUnix.h
29     include/HsUnixConfig.h.in
30     install-sh
31     unix.buildinfo.in
32
33 extra-tmp-files:
34     autom4te.cache
35     config.log
36     config.status
37     include/HsUnixConfig.h
38     unix.buildinfo
39
40 source-repository head
41     type:     git
42     location: https://github.com/haskell/unix.git
43
44 library
45     default-language: Haskell2010
46     other-extensions:
47         CApiFFI
48         CPP
49         DeriveDataTypeable
50         InterruptibleFFI
51         NondecreasingIndentation
52         OverloadedStrings
53         RankNTypes
54         RecordWildCards
55
56     if impl(ghc)
57         other-extensions:
58             Safe
59             Trustworthy
60
61     build-depends:
62         base        >= 4.5     && < 4.10,
63         bytestring  >= 0.9.2   && < 0.11,
64         time        >= 1.2     && < 1.7
65
66     exposed-modules:
67         System.Posix
68         System.Posix.ByteString
69
70         System.Posix.Error
71         System.Posix.Resource
72         System.Posix.Time
73         System.Posix.Unistd
74         System.Posix.User
75         System.Posix.Signals
76         System.Posix.Signals.Exts
77         System.Posix.Semaphore
78         System.Posix.SharedMem
79
80         System.Posix.ByteString.FilePath
81
82         System.Posix.Directory
83         System.Posix.Directory.ByteString
84
85         System.Posix.DynamicLinker.Module
86         System.Posix.DynamicLinker.Module.ByteString
87         System.Posix.DynamicLinker.Prim
88         System.Posix.DynamicLinker.ByteString
89         System.Posix.DynamicLinker
90
91         System.Posix.Files
92         System.Posix.Files.ByteString
93
94         System.Posix.IO
95         System.Posix.IO.ByteString
96
97         System.Posix.Env
98         System.Posix.Env.ByteString
99
100         System.Posix.Fcntl
101
102         System.Posix.Process
103         System.Posix.Process.Internals
104         System.Posix.Process.ByteString
105
106         System.Posix.Temp
107         System.Posix.Temp.ByteString
108
109         System.Posix.Terminal
110         System.Posix.Terminal.ByteString
111
112     other-modules:
113         System.Posix.Directory.Common
114         System.Posix.DynamicLinker.Common
115         System.Posix.Files.Common
116         System.Posix.IO.Common
117         System.Posix.Process.Common
118         System.Posix.Terminal.Common
119
120     ghc-options: -Wall
121
122     include-dirs: include
123     includes:
124         HsUnix.h
125         execvpe.h
126     install-includes:
127         HsUnix.h
128         execvpe.h
129     c-sources:
130         cbits/HsUnix.c
131         cbits/dirUtils.c
132         cbits/execvpe.c
133         cbits/ghcrts.c