Check if waitpidLock is held in getProcessExitCode
[packages/process.git] / process.cabal
1 name:          process
2 version:       1.5.0.0
3 -- NOTE: Don't forget to update ./changelog.md
4 license:       BSD3
5 license-file:  LICENSE
6 maintainer:    libraries@haskell.org
7 bug-reports:   https://github.com/haskell/process/issues
8 synopsis:      Process libraries
9 category:      System
10 build-type:    Configure
11 cabal-version: >=1.10
12 description:
13     This package contains libraries for dealing with system processes.
14
15 extra-source-files:
16     aclocal.m4
17     changelog.md
18     configure
19     configure.ac
20     include/HsProcessConfig.h.in
21     process.buildinfo
22     exes/echo.bat
23     exes/subdir/echo.bat
24
25 extra-tmp-files:
26     autom4te.cache
27     config.log
28     config.status
29     include/HsProcessConfig.h
30
31 source-repository head
32     type:     git
33     location: https://github.com/haskell/process.git
34
35 library
36     default-language: Haskell2010
37     other-extensions:
38         BangPatterns
39         CPP
40         InterruptibleFFI
41         RecordWildCards
42         Trustworthy
43     if impl(ghc>=7.9)
44         other-extensions: Safe
45
46     exposed-modules:
47         System.Cmd
48         System.Process
49         System.Process.Internals
50     other-modules: System.Process.Common
51     if os(windows)
52         other-modules: System.Process.Windows
53         build-depends: Win32 >=2.2 && < 2.6
54         extra-libraries: kernel32
55         cpp-options: -DWINDOWS
56     else
57         other-modules: System.Process.Posix
58         build-depends: unix >= 2.5 && < 2.8
59
60     c-sources:
61         cbits/runProcess.c
62     include-dirs: include
63     includes:
64         runProcess.h
65     install-includes:
66         runProcess.h
67         processFlags.h
68
69     ghc-options: -Wall
70
71     build-depends: base      >= 4.4 && < 4.11,
72                    directory >= 1.1 && < 1.4,
73                    filepath  >= 1.2 && < 1.5,
74                    deepseq   >= 1.1 && < 1.5
75
76 test-suite test
77   default-language: Haskell2010
78   hs-source-dirs: test
79   main-is: main.hs
80   type: exitcode-stdio-1.0
81   build-depends: base
82                , bytestring
83                , directory
84                , process
85   ghc-options: -threaded
86                -with-rtsopts "-N"