packages feed

pipes-cacophony-0.2.1: pipes-cacophony.cabal

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

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

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

--------------------------------------------------------------------------------
-- FLAGS

flag hlint

flag llvm
  default: False
  manual: True

--------------------------------------------------------------------------------
-- LIBRARY

library
  build-depends:
    base       >=4.8 && <5,
    bytestring,
    cacophony  >=0.6,
    pipes
  hs-source-dirs:   src
  default-language: Haskell2010
  exposed-modules:
    Pipes.Noise
  ghc-options:      -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs

  if flag(llvm)
    ghc-options: -fllvm

--------------------------------------------------------------------------------
-- TESTS

test-suite hlint
  type:             exitcode-stdio-1.0
  main-is:          hlint.hs
  ghc-options:      -Wall -fwarn-tabs
  hs-source-dirs:   tests
  default-language: Haskell2010

  if !flag(hlint)
    buildable: False
  else
    build-depends:
      base >=4.8 && <5,
      hlint