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