Don't include `HsUnixConfig.h` in source distribution
[packages/unix.git] / unix.cabal
1 name:           unix
2 version:        2.7.0.0
3 -- GHC 7.6.1 released with 2.6.0.0
4 license:        BSD3
5 license-file:   LICENSE
6 maintainer:     libraries@haskell.org
7 bug-reports:    http://hackage.haskell.org/trac/ghc/newticket?component=libraries/unix
8 synopsis:       POSIX functionality
9 category:       System
10 build-type:     Configure
11 cabal-version:  >= 1.10
12 tested-with:    GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1
13 description:
14     This package gives you access to the set of operating system
15     services standardised by POSIX 1003.1b (or the IEEE Portable
16     Operating System Interface for Computing Environments -
17     IEEE Std. 1003.1).
18     .
19     The package is not supported under Windows (except under Cygwin).
20
21 extra-source-files:
22     changelog
23     config.guess
24     config.sub
25     configure
26     configure.ac
27     include/HsUnix.h
28     include/HsUnixConfig.h.in
29     install-sh
30     unix.buildinfo.in
31
32 extra-tmp-files:
33     autom4te.cache
34     config.log
35     config.status
36     include/HsUnixConfig.h
37     unix.buildinfo
38
39 source-repository head
40     type:     git
41     location: http://git.haskell.org/packages/unix.git
42
43 source-repository this
44     type:     git
45     location: http://git.haskell.org/packages/unix.git
46     tag:      unix-2.7.0.0-release
47
48 library
49     default-language: Haskell2010
50     other-extensions:
51         CApiFFI
52         CPP
53         DeriveDataTypeable
54         InterruptibleFFI
55         NoMonomorphismRestriction
56         OverloadedStrings
57
58     if impl(ghc)
59         other-extensions:
60             Safe
61             Trustworthy
62
63     build-depends:
64         base        >= 4.5     && < 4.8,
65         bytestring  >= 0.9.2   && < 0.11,
66         time        >= 1.2     && < 1.5
67
68     exposed-modules:
69         System.Posix
70         System.Posix.ByteString
71
72         System.Posix.Error
73         System.Posix.Resource
74         System.Posix.Time
75         System.Posix.Unistd
76         System.Posix.User
77         System.Posix.Signals
78         System.Posix.Signals.Exts
79         System.Posix.Semaphore
80         System.Posix.SharedMem
81
82         System.Posix.ByteString.FilePath
83
84         System.Posix.Directory
85         System.Posix.Directory.ByteString
86
87         System.Posix.DynamicLinker.Module
88         System.Posix.DynamicLinker.Module.ByteString
89         System.Posix.DynamicLinker.Prim
90         System.Posix.DynamicLinker.ByteString
91         System.Posix.DynamicLinker
92
93         System.Posix.Files
94         System.Posix.Files.ByteString
95
96         System.Posix.IO
97         System.Posix.IO.ByteString
98
99         System.Posix.Env
100         System.Posix.Env.ByteString
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