packages feed

dprox-0.1.1: dprox.cabal

cabal-version: 1.12

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

name:           dprox
version:        0.1.1
synopsis:       a lightweight DNS proxy server
description:    Please see the README on GitHub at <https://github.com/bjin/dprox#readme>
category:       DNS
homepage:       https://github.com/bjin/dprox#readme
bug-reports:    https://github.com/bjin/dprox/issues
author:         Bin Jin
maintainer:     bjin@ctrl-d.org
copyright:      2019 Bin Jin
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    systemd/dprox.service

source-repository head
  type: git
  location: https://github.com/bjin/dprox

flag static
  description: Enable static build
  manual: True
  default: False

executable dprox
  main-is: Main.hs
  other-modules:
      Config
      DomainRoute
  hs-source-dirs:
      src
  ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      attoparsec
    , base >=4.7 && <5
    , bytestring
    , containers
    , dns >=3.0.4
    , iproute
    , network
    , optparse-applicative
    , streaming-commons
    , unix
    , unordered-containers
  if flag(static)
    ghc-options: -optl-static
  default-language: Haskell2010

test-suite dprox-test
  type: exitcode-stdio-1.0
  main-is: Test.hs
  other-modules:
      DomainRoute
  hs-source-dirs:
      src
      test
  ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      attoparsec
    , base >=4.7 && <5
    , bytestring
    , containers
    , dns >=3.0.4
    , hspec
    , iproute
    , network
    , optparse-applicative
    , streaming-commons
    , unix
    , unordered-containers
  default-language: Haskell2010