packages feed

crypton-socks-0.6.2: crypton-socks.cabal

cabal-version: 1.18

-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack

name:           crypton-socks
version:        0.6.2
synopsis:       SOCKS Protocol Version 5
description:    A library implementing SOCKS Protocol Version 5.
category:       Network
stability:      experimental
homepage:       http://github.com/mpilgrem/crypton-socks
bug-reports:    https://github.com/mpilgrem/crypton-socks/issues
author:         Vincent Hanquez <vincent@snarc.org>
maintainer:     Mike Pilgrem <public@pilgrem.com>,
                Kazu Yamamoto <kazu@iij.ad.jp>
copyright:      Vincent Hanquez <vincent@snarc.org>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-doc-files:
    CHANGELOG.md
    README.md

source-repository head
  type: git
  location: https://github.com/mpilgrem/crypton-socks

flag example
  description: Build the example application.
  manual: True
  default: False

flag network-3-0-0-0
  description: Use network-3.0.0.0 or later. If used the example application has a dependency on network-bsd.
  manual: False
  default: True

library
  exposed-modules:
      Network.Socks5
      Network.Socks5.Lowlevel
      Network.Socks5.Types
  other-modules:
      Network.Socks5.Command
      Network.Socks5.Conf
      Network.Socks5.Parse
      Network.Socks5.Wire
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=3 && <5
    , bytestring
    , cereal >=0.3.1
    , network >=2.6
  default-language: Haskell2010

executable crypton-socks-example
  main-is: Example.hs
  hs-source-dirs:
      example
  ghc-options: -Wall
  build-depends:
      base >=3 && <5
    , bytestring
    , crypton-socks
  default-language: Haskell2010
  if !flag(example)
    buildable: False
  if flag(network-3-0-0-0)
    build-depends:
        network >=3.0.0.0
      , network-bsd
  else
    build-depends:
        network >=2.6