File: repline.cabal

package info (click to toggle)
haskell-repline 0.4.2.0-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104 kB
  • sloc: haskell: 460; makefile: 5
file content (96 lines) | stat: -rw-r--r-- 2,179 bytes parent folder | download | duplicates (2)
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
name:               repline
version:            0.4.2.0
synopsis:           Haskeline wrapper for GHCi-like REPL interfaces.
license:            MIT
license-file:       LICENSE
author:             Stephen Diehl
maintainer:         stephen.m.diehl@gmail.com
copyright:          2014-2022 Stephen Diehl
category:           User Interfaces
build-type:         Simple
extra-source-files: README.md
cabal-version:      >=1.10
tested-with:
  GHC ==8.2.2
   || ==8.4.4
   || ==8.6.2
   || ==8.6.3
   || ==8.6.4
   || ==8.6.5
   || ==8.8.1
   || ==8.10.1
   || ==8.10.7
   || ==9.0.1
   || ==9.2

homepage:           https://github.com/sdiehl/repline
bug-reports:        https://github.com/sdiehl/repline/issues
description:
  Haskeline wrapper for GHCi-like REPL interfaces. Composable with normal mtl transformers.

extra-source-files:
  README.md
  ChangeLog.md

source-repository head
  type:     git
  location: git@github.com:sdiehl/repline.git

library
  hs-source-dirs:   src
  exposed-modules:  System.Console.Repline
  ghc-options:      -Wall
  build-depends:
      base        >=4.6  && <5.0
    , containers  >=0.5  && <0.7
    , exceptions  >=0.10 && <0.11
    , haskeline   >=0.8  && <0.9
    , mtl         >=2.2  && <2.4
    , process     >=1.2  && <2.0

  if !impl(ghc >=8.0)
    build-depends: fail ==4.9.*

  default-language: Haskell2010

test-suite prefix
  type:             exitcode-stdio-1.0
  main-is:          examples/Prefix.hs
  default-language: Haskell2010
  build-depends:
      base
    , containers
    , mtl
    , repline

test-suite simple
  type:             exitcode-stdio-1.0
  main-is:          examples/Simple.hs
  default-language: Haskell2010
  build-depends:
      base
    , containers
    , mtl
    , process
    , repline

test-suite stateful
  type:             exitcode-stdio-1.0
  main-is:          examples/Stateful.hs
  default-language: Haskell2010
  build-depends:
      base
    , containers
    , mtl
    , repline

test-suite multiline
  type:             exitcode-stdio-1.0
  main-is:          examples/Multiline.hs
  default-language: Haskell2010
  build-depends:
      base
    , containers
    , mtl
    , process
    , repline