File: wreq-examples.cabal

package info (click to toggle)
haskell-wreq 0.5.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: haskell: 2,992; makefile: 25
file content (64 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download | duplicates (4)
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
name:                wreq-examples
version:             0
synopsis:            wreq examples, not for installing
description:
homepage:            https://github.com/bos/wreq
bug-reports:         https://github.com/bos/wreq/issues
license:             BSD3
license-file:        ../LICENSE.md
maintainer:          bos@serpentine.com
category:            Web
build-type:          Simple
cabal-version:       >=1.10

executable wreq-example-json-response
  main-is:        JsonResponse.hs
  ghc-options:    -Wall -fwarn-tabs -threaded
  default-language: Haskell98

  build-depends:
    aeson,
    base >= 4.5 && < 5,
    containers,
    ghc-prim,
    lens,
    lens-aeson,
    text,
    wreq


executable wreq-example-simple-session
  main-is:        SimpleSession.hs
  ghc-options:    -Wall -fwarn-tabs -threaded
  default-language: Haskell98

  build-depends:
    base >= 4.5 && < 5,
    lens,
    wreq

executable upload-paste
  main-is:          UploadPaste.hs
  ghc-options:      -Wall -fwarn-tabs -threaded
  default-language: Haskell98

  build-depends:
    aeson,
    ansi-wl-pprint >= 0.6.6,
    base >= 4.5 && < 5,
    bytestring,
    filepath,
    lens,
    optparse-applicative >= 0.11,
    mtl,
    tagsoup,
    text,
    wreq

source-repository head
  type:     git
  location: https://github.com/bos/wreq

source-repository head
  type:     mercurial
  location: https://bitbucket.org/bos/wreq