File: process.cabal

package info (click to toggle)
ghc 8.8.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 80,760 kB
  • sloc: haskell: 461,232; ansic: 62,975; sh: 8,706; python: 1,902; asm: 1,714; makefile: 1,120; perl: 458; javascript: 207; xml: 196; cpp: 147; ruby: 84; lisp: 7
file content (93 lines) | stat: -rw-r--r-- 2,468 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
name:          process
version:       1.6.9.0
-- NOTE: Don't forget to update ./changelog.md
license:       BSD3
license-file:  LICENSE
maintainer:    libraries@haskell.org
bug-reports:   https://github.com/haskell/process/issues
synopsis:      Process libraries
category:      System
build-type:    Configure
cabal-version: >=1.10
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-source-files:
    aclocal.m4
    changelog.md
    configure
    configure.ac
    include/HsProcessConfig.h.in
    process.buildinfo
    exes/echo.bat
    exes/subdir/echo.bat

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

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

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

    exposed-modules:
        System.Cmd
        System.Process
        System.Process.Internals
    other-modules: System.Process.Common
    if os(windows)
        other-modules: System.Process.Windows
        build-depends: Win32 >=2.2 && < 2.9
        extra-libraries: kernel32
        cpp-options: -DWINDOWS
    else
        other-modules: System.Process.Posix
        build-depends: unix >= 2.5 && < 2.8

    c-sources:
        cbits/runProcess.c
    include-dirs: include
    includes:
        runProcess.h
    install-includes:
        runProcess.h
        processFlags.h

    ghc-options: -Wall

    build-depends: base      >= 4.8.2 && < 4.15,
                   directory >= 1.1 && < 1.4,
                   filepath  >= 1.2 && < 1.5,
                   deepseq   >= 1.1 && < 1.5

test-suite test
  default-language: Haskell2010
  hs-source-dirs: test
  main-is: main.hs
  type: exitcode-stdio-1.0
  -- Add otherwise redundant bounds on base since GHC's build system runs
  -- `cabal check`, which mandates bounds on base.
  build-depends: base >= 4 && < 5
               , bytestring
               , directory
               , process
  ghc-options: -threaded
               -with-rtsopts "-N"