packages feed

jordan-servant-client-0.1.0.0: jordan-servant-client.cabal

cabal-version:      2.4
name:               jordan-servant-client
version:            0.1.0.0
synopsis:           Servant Client Instances for Jordan Servant Types

-- A longer description of the package.
description:
  Jordan Servant Client provides orphan instances so you can use Jordan types in a Servant client.
  This module is only designed to be used with Jordan-Servant-Server.
homepage:           https://github.com/AnthonySuper/jordan

-- A URL where users can report bugs.
-- bug-reports:
license:            MIT
license-file:       LICENSE
author:             Anthony Super
maintainer:         anthony@noided.media

-- A copyright notice.
-- copyright:
category:           Web
extra-source-files: CHANGELOG.md

common build-deps
  build-depends:
    , attoparsec >= 0.14.1 && <0.15
    , bytestring >= 0.10.8.1 && <0.12
    , jordan-servant >= 0.1.0.0 && <0.3
    , servant >= 0.18 && <0.20
    , text >= 1.2.3.0 && <1.3
    , servant-server >= 0.19 && <0.20
    , jordan >=0.2 && <=0.3
    , http-types >= 0.12.2 && <0.13
    , http-media >= 0.7 && <0.9
    , transformers >=0.5.5 && <= 0.7
    , servant-client-core >=0.18 && <0.20
    , base >= 4.14.1 && <4.17


library
    import: build-deps
    exposed-modules:
        Jordan.Servant.Client
      , Jordan.Servant.Client.Query

    -- Modules included in this library but not exported.
    -- other-modules:

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    hs-source-dirs:   lib
    default-language: Haskell2010

test-suite jordan-servant-client-test
    import: build-deps
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          MyLibTest.hs