File: posix-pty.cabal

package info (click to toggle)
haskell-posix-pty 0.2.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 104 kB
  • sloc: haskell: 242; ansic: 98; makefile: 6
file content (69 lines) | stat: -rw-r--r-- 2,075 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
Name:                posix-pty
Version:             0.2.1.1

Homepage:            https://bitbucket.org/merijnv/posix-pty
Bug-Reports:         https://github.com/merijn/posix-pty/issues

Author:              Merijn Verstraaten
Maintainer:          Merijn Verstraaten <merijn@inconsistent.nl>
Copyright:           Copyright © 2013-2015 Merijn Verstraaten,
                     Copyright © 2014 Vladimir Kirillov

License:             BSD3
License-File:        LICENSE

Category:            System
Cabal-Version:       >= 1.10
Build-Type:          Simple
Tested-With:         GHC == 7.6.3

Synopsis:            Pseudo terminal interaction with subprocesses.

Description:
    This package simplifies the creation of subprocesses that interact with
    their parent via a pseudo terminal (see @man pty@).

Extra-Source-Files:     cbits/*.h

Library
  Default-Language:     Haskell2010
  GHC-Options:          -Wall
  GHC-Prof-Options:     -auto-all -caf-all
  Exposed-Modules:      System.Posix.Pty
  Other-Modules:        

  C-Sources:            cbits/fork_exec_with_pty.c cbits/pty_size.c
  CC-Options:           -Wall -Wextra -pedantic -std=c99
  Include-Dirs:         cbits
  Includes:             fork_exec_with_pty.h pty_size.h

  Build-Depends:        base >= 4 && < 5
               ,        bytestring >= 0.10
               ,        process >= 1.2
               ,        unix >= 2.6

  if os(linux) || os(freebsd)
    Extra-Libraries: util

Test-Suite stty
  Type: exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Main-Is:              stty.hs
  Ghc-Options:          -w -threaded -rtsopts -with-rtsopts=-N
  Hs-Source-Dirs:       tests
  Build-Depends:        base
               ,        bytestring
               ,        posix-pty
               ,        process

Source-Repository head
  Type:     git
  Location: ssh://github.com:merijn/posix-pty.git

Source-Repository head
  Type:     mercurial
  Location: git+ssh://github.com:merijn/posix-pty.git

Source-Repository head
  Type:     mercurial
  Location: https://bitbucket.org/merijnv/posix-pty