Bump upper bound on time to allow 1.9
[packages/unix.git] / unix.cabal
1 name:           unix
2 version:        2.7.2.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
17     <http://pubs.opengroup.org/onlinepubs/9699919799/ POSIX.1-2008>
18     (or the IEEE Portable Operating System Interface for Computing
19     Environments - IEEE Std. 1003.1).
20     .
21     The package is not supported under Windows.
22
23 extra-source-files:
24     changelog.md
25     config.guess
26     config.sub
27     configure
28     configure.ac
29     include/HsUnix.h
30     include/HsUnixConfig.h.in
31     install-sh
32     unix.buildinfo.in
33
34 extra-tmp-files:
35     autom4te.cache
36     config.log
37     config.status
38     include/HsUnixConfig.h
39     unix.buildinfo
40
41 source-repository head
42     type:     git
43     location: https://github.com/haskell/unix.git
44
45 library
46     default-language: Haskell2010
47     other-extensions:
48         CApiFFI
49         CPP
50         DeriveDataTypeable
51         InterruptibleFFI
52         NondecreasingIndentation
53         RankNTypes
54         RecordWildCards
55         Safe
56         Trustworthy
57
58     if os(windows)
59         -- This package currently supports neither Cygwin nor MinGW,
60         -- therefore os(windows) is effectively not supported.
61         build-depends: unbuildable<0
62         buildable: False
63
64     build-depends:
65         base        >= 4.5     && < 4.11,
66         bytestring  >= 0.9.2   && < 0.11,
67         time        >= 1.2     && < 1.9
68
69     exposed-modules:
70         System.Posix
71         System.Posix.ByteString
72
73         System.Posix.Error
74         System.Posix.Resource
75         System.Posix.Time
76         System.Posix.Unistd
77         System.Posix.User
78         System.Posix.Signals
79         System.Posix.Signals.Exts
80         System.Posix.Semaphore
81         System.Posix.SharedMem
82
83         System.Posix.ByteString.FilePath
84
85         System.Posix.Directory
86         System.Posix.Directory.ByteString
87
88         System.Posix.DynamicLinker.Module
89         System.Posix.DynamicLinker.Module.ByteString
90         System.Posix.DynamicLinker.Prim
91         System.Posix.DynamicLinker.ByteString
92         System.Posix.DynamicLinker
93
94         System.Posix.Files
95         System.Posix.Files.ByteString
96
97         System.Posix.IO
98         System.Posix.IO.ByteString
99
100         System.Posix.Env
101         System.Posix.Env.ByteString
102
103         System.Posix.Fcntl
104
105         System.Posix.Process
106         System.Posix.Process.Internals
107         System.Posix.Process.ByteString
108
109         System.Posix.Temp
110         System.Posix.Temp.ByteString
111
112         System.Posix.Terminal
113         System.Posix.Terminal.ByteString
114
115     other-modules:
116         System.Posix.Directory.Common
117         System.Posix.DynamicLinker.Common
118         System.Posix.Files.Common
119         System.Posix.IO.Common
120         System.Posix.Process.Common
121         System.Posix.Terminal.Common
122
123     ghc-options: -Wall
124
125     include-dirs: include
126     includes:
127         HsUnix.h
128         execvpe.h
129     install-includes:
130         HsUnix.h
131         execvpe.h
132     c-sources:
133         cbits/HsUnix.c
134         cbits/execvpe.c