packages feed

pipes-cacophony-0.5.0: pipes-cacophony.cabal

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

name:           pipes-cacophony
version:        0.5.0
synopsis:       Pipes for Noise-secured network connections.
description:    A set of pipes to secure network connections with the
                <https://github.com/trevp/noise/blob/master/noise.md Noise> protocol.
category:       Cryptography
homepage:       https://github.com/centromere/pipes-cacophony#readme
bug-reports:    https://github.com/centromere/pipes-cacophony/issues
maintainer:     John Galt <jgalt@centromere.net>
license:        PublicDomain
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    .travis.yml
    changelog.md
    LICENSE
    package.yaml
    README.md
    stack.yaml
    tests/.hlint

source-repository head
  type: git
  location: https://github.com/centromere/pipes-cacophony

flag build-examples
  description: Build examples
  manual: True
  default: False

library
  hs-source-dirs:
      src
  default-extensions: OverloadedStrings
  ghc-options: -Wall
  build-depends:
      base >= 4.9 && < 4.10
    , bytestring
    , cacophony >= 0.10
    , pipes
  exposed-modules:
      Pipes.Noise
  other-modules:
      Paths_pipes_cacophony
  default-language: Haskell2010

executable loopback
  main-is: Main.hs
  hs-source-dirs:
      examples/loopback
  default-extensions: OverloadedStrings
  ghc-options: -Wall -O2 -rtsopts -threaded -with-rtsopts=-N
  if flag(build-examples)
    build-depends:
        base >= 4.9 && < 4.10
      , bytestring
      , cacophony >= 0.10
      , pipes
      , pipes-cacophony
  else
    buildable: False
  default-language: Haskell2010

test-suite hlint
  type: exitcode-stdio-1.0
  main-is: hlint.hs
  hs-source-dirs:
      tests/hlint
  ghc-options: -Wall -O2 -rtsopts -threaded -with-rtsopts=-N
  build-depends:
      base >= 4.9 && < 4.10
    , hlint
  default-language: Haskell2010