packages feed

libjenkins-0.6.0: libjenkins.cabal

name:                libjenkins
version:             0.6.0
synopsis:            Jenkins API interface
description:         Jenkins API interface. It supports REST and Discovery APIs
license:             BSD3
license-file:        LICENSE
author:              Matvey Aksenov
maintainer:          matvey.aksenov@gmail.com
category:            Network
build-type:          Simple
extra-source-files:
  README.md
  CHANGELOG.md
  bench/Concurrency.hs
  bench/README.md
  example/grep-jobs.hs
  example/rename-jobs.hs
  example/discover.hs
  example/running-jobs-count.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.6.0

library
  default-language:
    Haskell2010
  build-depends:
      base            >= 4.6 && < 5
    , attoparsec      >= 0.12
    , bytestring      >= 0.9
    , containers
    , free            >= 4.1
    , http-client     >= 0.3.8
    , http-client-tls >= 0.2.2
    , http-types      >= 0.8
    , lifted-async    >= 0.2
    , lifted-base     >= 0.2.3
    , monad-control   >= 0.3
    , profunctors     >= 4.2
    , mtl             >= 2.1
    , network         >= 2.6
    , network-uri     >= 2.6
    , text            >= 0.11
    , transformers
  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

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

test-suite spec
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  build-depends:
      async
    , attoparsec
    , base          == 4.*
    , bytestring
    , containers
    , free
    , hspec
    , hspec-expectations-lens
    , http-client
    , http-client-tls
    , http-types
    , lens
    , lifted-async
    , lifted-base
    , monad-control
    , mtl
    , network
    , network-uri
    , profunctors
    , 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
  cpp-options:
    -DTEST