packages feed

smith-client-0.0.1: smith-client.cabal

name: smith-client
version: 0.0.1
synopsis: API client for <https://smith.st/ Smith>.
homepage: https://github.com/smith-security/smith-client
license:  BSD3
license-file: LICENSE
author: Mark Hibberd
maintainer: mth@smith.st
copyright: (c) 2019, HotelKilo
bug-reports: https://github.com/smith-security/smith-client/issues
category: Security
build-type: Simple
extra-source-files: ChangeLog.md, README.md
cabal-version: >= 1.10
description:
  This is an API client library for interacting with <https://smith.st Smith>.
source-repository head
  type:     git
  location: git@github.com:smith-security/smith-client.git

library
  default-language: Haskell2010
  build-depends:
      aeson >= 1.0 && < 1.5
    , base >= 4.10 && < 5
    , bytestring == 0.*
    , directory == 1.*
    , filepath == 1.*
    , http-client >= 0.5 && < 0.6
    , http-client-tls >= 0.2 && < 0.4
    , http-types == 0.*
    , jose == 0.7.*
    , oauth2-jwt-bearer == 0.0.*
    , text == 1.*
    , transformers >= 0.4 && < 0.6
    , transformers-bifunctors == 0.*

  hs-source-dirs:
    src

  exposed-modules:
    Smith.Client
    Smith.Client.Api
    Smith.Client.Config
    Smith.Client.Data.Certificate
    Smith.Client.Data.CertificateAuthority
    Smith.Client.Data.CertificateRequest
    Smith.Client.Data.Environment
    Smith.Client.Data.Identity
    Smith.Client.Data.User
    Smith.Client.Error
    Smith.Client.Network
    Smith.Client.Request
    Smith.Client.Response
    Smith.Client.Serial.Decode
    Smith.Client.Serial.Encode


test-suite test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  main-is: test.hs
  hs-source-dirs: test
  build-depends:
      base >= 4.10 && < 5
    , hedgehog == 0.6.*
    , smith-client
    , transformers

  other-modules:
    Test.Smith.Client.Api

test-suite pact-generator
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  main-is: pact-generator.hs
  hs-source-dirs: pact
  build-depends:
      aeson
    , base >= 4.10 && < 5
    , bytestring
    , case-insensitive
    , http-types
    , text
    , smith-client

  other-modules:
    Pact