packages feed

stratux-http-0.0.7: stratux-http.cabal

name:               stratux-http
version:            0.0.7
license:            BSD3
license-file:       LICENCE
author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
maintainer:         Tony Morris
copyright:          Copyright (C) 2016 Tony Morris
synopsis:           A library for using HTTP with stratux
category:           Aviation, ADSB, Stratux, JSON, Network
description:        A library for using HTTP with stratux <http://stratux.me/>
homepage:           https://github.com/tonymorris/stratux-http
bug-reports:        https://github.com/tonymorris/stratux-http/issues
cabal-version:      >= 1.10
build-type:         Custom
extra-source-files: changelog.md

source-repository   head
  type:             git
  location:         git@github.com:tonymorris/stratux-http.git

flag                small_base
  description:      Choose the new, split-up base package.

library
  default-language:
                    Haskell2010

  build-depends:
                      base < 5 && >= 4
                    , stratux-types >= 0.0.7 && < 0.1
                    , HTTP >= 4000 && < 5000
                    , network-uri >= 2.6 && < 3.0
                    , aeson >= 0.11 && < 1.0
                    , either >= 0.4 && < 5.0
                    , utf8-string >= 1.0 && < 2.0

  ghc-options:
                    -Wall

  default-extensions:
                      NoImplicitPrelude

  hs-source-dirs:
                    src

  exposed-modules:
                    Data.Aviation.Stratux.HTTP                  

test-suite doctests
  type:
                    exitcode-stdio-1.0

  main-is:
                    doctests.hs

  default-language:
                    Haskell2010

  build-depends:
                      base < 5 && >= 3
                    , doctest >= 0.9.7
                    , filepath >= 1.3
                    , directory >= 1.1
                    , QuickCheck >= 2.0
                    , template-haskell >= 2.8

  ghc-options:
                    -Wall
                    -threaded

  hs-source-dirs:
                    test