packages feed

lxd-client-0.1.0.2: lxd-client.cabal

name:                lxd-client
version:             0.1.0.2
synopsis:            LXD client written in Haskell.
description:
    Implementation of the LXD client protocol in Haskell.
    .
    This module implements the LXD client protocol in Haskell using servant and
    websockets. It allows you to manage LXD containers and other resources
    directly from Haskell.
    .
    More information and a tutorial is in "Network.LXD.Client.Commands".
    .
    Accompanying blog post:
    <https://deliquus.com/posts/2017-10-02-using-servant-to-orchestrate-lxd-containers.md>
homepage:            https://github.com/hverr/haskell-lxd-client#readme
license:             GPL-3
license-file:        LICENSE
author:              Henri Verroken
maintainer:          henriverroken@gmail.com
copyright:           2017 Henri Verroken
category:            System
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC >= 8.0.1

library
  hs-source-dirs:      src
  exposed-modules:     Network.LXD.Client
                     , Network.LXD.Client.API
                     , Network.LXD.Client.Commands
                     , Network.LXD.Client.Events
                     , Network.LXD.Client.Internal.Compatibility
                     , Network.LXD.Client.Internal.Compatibility.WebSockets
                     , Network.LXD.Client.Internal.Prelude
                     , Network.LXD.Client.Remotes
                     , Network.LXD.Client.Types
  build-depends:       base             >= 4.7 && < 5
                     , aeson            >= 1.0.2.1 && <2
                     , async            >= 2.1.1.1 && <3
                     , bimap            >= 0.3.3 && <1
                     , bytestring       >= 0.10.4.0 && <1
                     , connection       >= 0.2.8 && <1
                     , containers       >= 0.5.5.1 && <1
                     , data-default     >= 0.7.1.1 && <1
                     , directory        >= 1.2.1.0 && <2
                     , either           >= 4.4.1.1 && <5
                     , exceptions       >= 0.8.3 && <1
                     , filepath         >= 1.3.0.2 && <2
                     , http-api-data    >= 0.3.7.1 && <1
                     , http-client      >= 0.5.7.0 && <1
                     , http-client-tls  >= 0.3.5.1 && <1
                     , http-media       >= 0.6.4 && <1
                     , http-types       >= 0.9.1 && <1
                     , mtl              >= 2.2.1 && <3
                     , network          >= 2.6.3.2 && <3
                     , semigroups       >= 0.18.3 && <1
                     , servant          >= 0.11 && <0.12
                     , servant-client   >= 0.11 && <0.12
                     , text             >= 1.2.2.2 && <2
                     , tls              >= 1.3.9 && <2
                     , transformers     >= 0.5.2.0 && <1
                     , unix             >= 2.7.0.1 && <3
                     , websockets       >= 0.10.0.0 && <0.11 || >= 0.12.2.0 && <0.13
                     , x509             >= 1.6.5 && <2
                     , x509-store       >= 1.6.2 && <2
                     , x509-validation  >= 1.6.5 && <2
  ghc-options:         -Wall
  default-extensions:  NoImplicitPrelude OverloadedStrings
  default-language:    Haskell2010

executable lxd-client-example
  hs-source-dirs:      example
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall
  build-depends:       base
                     , lxd-client
  default-language:    Haskell2010

test-suite lxd-client-integration
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Integration.hs
  other-modules:
  build-depends:       base
                     , lxd-client
                     , exceptions
                     , hspec            >= 2.4.4 && <3
                     , hspec-core       >= 2.4.4 && <3
                     , random           >= 1.1 && <2
                     , text
                     , turtle           >= 1.3.6 && <1.5
                     , uuid             >= 1.3.13 && <2
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall
  default-extensions:  NoImplicitPrelude OverloadedStrings
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/hverr/haskell-lxd-client