packages feed

porcupine-http-0.1.0.0: porcupine-http.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.32.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 800cd688519c710041a03d06e4bfafcf5ab8b4c36615955eafa284caeceb23c9

name:           porcupine-http
version:        0.1.0.0
synopsis:       A location accessor for porcupine to connect to HTTP sources/sinks
description:    Gives a porcupine task pipeline access to HTTP urls (GET, POST or
                PUT). Implements a specific location type (represented as JSON object) to pack
                together the url and some common HTTP header fields (method, content-type,
                etc.). See the README at <https://github.com/tweag/porcupine#README.md> and
                the examples in the `porcupine-http` package.
category:       Data, Arrows, Combinators, Control, Web
homepage:       https://github.com/tweag/porcupine#readme
bug-reports:    https://github.com/tweag/porcupine/issues
maintainer:     Yves Parès <yves.pares@tweag.io>
copyright:      2018 EURL Tweag, NovaDiscovery
license:        MIT
license-file:   LICENSE
build-type:     Simple

source-repository head
  type: git
  location: https://github.com/tweag/porcupine

library
  exposed-modules:
      Data.Locations.Accessors.HTTP
  other-modules:
      Paths_porcupine_http
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      aeson
    , base >=4.10 && <5
    , bytestring
    , conduit
    , containers
    , http-client
    , http-conduit
    , mime-types
    , porcupine-core ==0.1.*
    , reader-soup ==0.1.*
    , resourcet
    , safe-exceptions
    , streaming
    , streaming-bytestring
    , streaming-conduit
    , text
    , transformers
  default-language: Haskell2010

executable example-pokeapi
  main-is: ExamplePokeAPI.hs
  other-modules:
      Paths_porcupine_http
  hs-source-dirs:
      examples/example-Poke
  ghc-options: -Wall
  build-depends:
      aeson
    , base >=4.10 && <5
    , bytestring
    , conduit
    , containers
    , docrecords
    , http-client
    , http-conduit
    , hvega
    , mime-types
    , porcupine-core
    , porcupine-http
    , reader-soup ==0.1.*
    , resourcet
    , safe-exceptions
    , streaming
    , streaming-bytestring
    , streaming-conduit
    , text
    , transformers
    , unordered-containers
  default-language: Haskell2010

executable example-stock
  main-is: ExampleStockAPI.hs
  other-modules:
      Paths_porcupine_http
  hs-source-dirs:
      examples/example-Stock
  ghc-options: -Wall
  build-depends:
      aeson
    , base >=4.10 && <5
    , bytestring
    , conduit
    , containers
    , docrecords
    , http-client
    , http-conduit
    , hvega
    , mime-types
    , porcupine-core
    , porcupine-http
    , reader-soup ==0.1.*
    , resourcet
    , safe-exceptions
    , streaming
    , streaming-bytestring
    , streaming-conduit
    , text
    , transformers
    , unordered-containers
  default-language: Haskell2010