Cut a release for 1.6.2.0
[packages/process.git] / process.cabal
1 name:          process
2 version:       1.6.2.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     The typed-process package is a more recent take on a process API,
16     which uses this package internally. It features better binary
17     support, easier concurrency, and a more composable API. You can
18     read more about it at
19     <https://haskell-lang.org/library/typed-process>.
20
21 extra-source-files:
22     aclocal.m4
23     changelog.md
24     configure
25     configure.ac
26     include/HsProcessConfig.h.in
27     process.buildinfo
28     exes/echo.bat
29     exes/subdir/echo.bat
30
31 extra-tmp-files:
32     autom4te.cache
33     config.log
34     config.status
35     include/HsProcessConfig.h
36
37 source-repository head
38     type:     git
39     location: https://github.com/haskell/process.git
40
41 library
42     default-language: Haskell2010
43     other-extensions:
44         BangPatterns
45         CPP
46         InterruptibleFFI
47         RecordWildCards
48         Trustworthy
49     if impl(ghc>=7.9)
50         other-extensions: Safe
51
52     exposed-modules:
53         System.Cmd
54         System.Process
55         System.Process.Internals
56     other-modules: System.Process.Common
57     if os(windows)
58         other-modules: System.Process.Windows
59         build-depends: Win32 >=2.2 && < 2.7
60         extra-libraries: kernel32
61         cpp-options: -DWINDOWS
62     else
63         other-modules: System.Process.Posix
64         build-depends: unix >= 2.5 && < 2.8
65
66     c-sources:
67         cbits/runProcess.c
68     include-dirs: include
69     includes:
70         runProcess.h
71     install-includes:
72         runProcess.h
73         processFlags.h
74
75     ghc-options: -Wall
76
77     build-depends: base      >= 4.4 && < 4.12,
78                    directory >= 1.1 && < 1.4,
79                    filepath  >= 1.2 && < 1.5,
80                    deepseq   >= 1.1 && < 1.5
81
82 test-suite test
83   default-language: Haskell2010
84   hs-source-dirs: test
85   main-is: main.hs
86   type: exitcode-stdio-1.0
87   build-depends: base
88                , bytestring
89                , directory
90                , process
91   ghc-options: -threaded
92                -with-rtsopts "-N"