packages feed

libjenkins-0.8.4: libjenkins.cabal

name:                libjenkins
version:             0.8.4
synopsis:            Jenkins API interface
description:         Jenkins API interface. It supports REST and Discovery APIs
license:             BSD2
license-file:        LICENSE
author:              Matvey Aksenov
maintainer:          matvey.aksenov@gmail.com
category:            Network
build-type:          Simple
extra-source-files:
  README.markdown
  CHANGELOG.markdown
  bench/Concurrency.hs
  bench/README.markdown
  example/grep-jobs.hs
  example/rename-jobs.hs
  example/discover.hs
  example/running-jobs-count.hs
  example/repl.hs
cabal-version:       >= 1.10

source-repository head
  type:     git
  location: https://github.com/supki/libjenkins

source-repository this
  type:     git
  location: https://github.com/supki/libjenkins
  tag:      0.8.4

library
  default-language:
    Haskell2010
  build-depends:
      base          >= 4.8 && < 5
    , async         >= 2.0
    , attoparsec    >= 0.12
    , bytestring    >= 0.9
    , conduit       >= 1.2
    , containers
    , free          >= 4.10
    , http-conduit  >= 2.1.8
    , http-client   >= 0.5.5
    , http-types    >= 0.8
    , monad-control >= 0.3
    , profunctors   >= 4.2
    , mtl           >= 2.2.1
    , network       >= 2.6
    , network-uri   >= 2.6
    , resourcet     >= 1.1
    , text          >= 0.11
  hs-source-dirs:
    src
  exposed-modules:
    Jenkins.Discover
    Jenkins.Rest
    Jenkins.Rest.Internal
    Jenkins.Rest.Method
    Jenkins.Rest.Method.Internal
    Network.HTTP.Client.Lens
    Network.HTTP.Client.Lens.Internal
  ghc-options:
    -Wall

test-suite doctest
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  build-depends:
      base          == 4.*
    , directory
    , doctest
    , filepath
  hs-source-dirs:
    test
  main-is:
    Doctest.hs
  ghc-options:
    -Wall

test-suite spec
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  build-depends:
      async
    , attoparsec
    , base          == 4.*
    , bytestring
    , conduit
    , containers
    , free
    , hspec
    , hspec-expectations-lens
    , http-client
    , http-conduit
    , http-types
    , lens
    , lifted-async
    , lifted-base
    , monad-control
    , mtl
    , network
    , network-uri
    , profunctors
    , resourcet
    , text
    , transformers
    , xml-conduit
  hs-source-dirs:
    src
    test
  main-is:
    Spec.hs
  other-modules:
    Jenkins.DiscoverSpec
    Jenkins.RestSpec
    Jenkins.Rest.InternalSpec
    Jenkins.Rest.Method.InternalSpec
  ghc-options:
    -Wall
  cpp-options:
    -DTEST