File: process.cabal

package info (click to toggle)
ghc 9.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 168,924 kB
  • sloc: haskell: 713,548; ansic: 84,223; cpp: 30,255; javascript: 9,003; sh: 7,870; fortran: 3,527; python: 3,228; asm: 2,523; makefile: 2,326; yacc: 1,570; lisp: 532; xml: 196; perl: 111; csh: 2
file content (105 lines) | stat: -rw-r--r-- 2,947 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
cabal-version: 2.4
name:          process
version:       1.6.26.1
-- NOTE: Don't forget to update ./changelog.md
license:       BSD-3-Clause
license-file:  LICENSE
maintainer:    libraries@haskell.org
bug-reports:   https://github.com/haskell/process/issues
synopsis:      Process libraries
category:      System
build-type:    Configure
description:
    This package contains libraries for dealing with system processes.
    .
    The typed-process package is a more recent take on a process API,
    which uses this package internally. It features better binary
    support, easier concurrency, and a more composable API. You can
    read more about it at
    <https://github.com/fpco/typed-process/#readme>.

extra-doc-files:
    changelog.md

extra-source-files:
    aclocal.m4
    configure
    configure.ac
    include/HsProcessConfig.h.in
    process.buildinfo
    exes/echo.bat
    exes/subdir/echo.bat
    cbits/posix/common.h

extra-tmp-files:
    autom4te.cache
    config.log
    config.status
    include/HsProcessConfig.h

source-repository head
    type:     git
    location: https://github.com/haskell/process.git

flag os-string
    description: Use the new os-string package
    default: False
    manual: False

library
    default-language: Haskell2010
    other-extensions:
        BangPatterns
        CPP
        InterruptibleFFI
        RecordWildCards
        Trustworthy
        Safe

    exposed-modules:
        System.Cmd
        System.Process
        System.Process.CommunicationHandle
        System.Process.CommunicationHandle.Internal
        System.Process.Environment.OsString
        System.Process.Internals
    other-modules: System.Process.Common
    if os(windows)
        c-sources:
            cbits/win32/runProcess.c
        other-modules: System.Process.Windows
        build-depends: Win32 >= 2.14.1.0 && < 2.15
        -- ole32 and rpcrt4 are needed to create GUIDs for unique named pipes
        -- for process.
        extra-libraries: kernel32, ole32, rpcrt4
        cpp-options: -DWINDOWS
    else
        build-depends: unix >= 2.8.0.0 && < 2.9
        if arch(javascript)
            js-sources:
                jsbits/process.js
            other-modules: System.Process.JavaScript
        else
            c-sources:
                cbits/posix/runProcess.c
                cbits/posix/fork_exec.c
                cbits/posix/posix_spawn.c
                cbits/posix/find_executable.c
            other-modules: System.Process.Posix

    include-dirs: include
    install-includes:
        runProcess.h
        processFlags.h

    ghc-options: -Wall

    build-depends: base      >= 4.12.0.0 && < 4.22,
                   directory >= 1.1 && < 1.4,
                   deepseq   >= 1.1 && < 1.6

    if flag(os-string)
        build-depends: filepath >= 1.5.0.0 && < 1.6,
                       os-string >= 2.0.0 && < 2.1
    else
        build-depends: filepath >= 1.4.100.0 && < 1.5.0.0