packages feed

pocket-dns-0.1.1: pocket-dns.cabal

-- Initial pocket-dns.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                pocket-dns
version:             0.1.1
synopsis:            Multi-backend (zookeeper and sqlite) DNS Server using persistent-library
description:         Multi-backend (zookeeper and sqlite) DNS Server using persistent-library
license:             BSD3
license-file:        LICENSE
author:              Junji Hashimoto
maintainer:          junji.hashimoto@gmail.com
-- copyright:           
stability:           Experimental
category:            Network
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10

bug-reports:         https://github.com/junjihashimoto/pocket-dns/issues

extra-source-files:
  ChangeLog.md
  README.md

source-repository head
  type:           git
  location:       https://github.com/junjihashimoto/pocket-dns.git

library
  exposed-modules:     Network.DNS.Pocket
                     , Network.DNS.Pocket.Type
                     , Network.DNS.Pocket.Server
                     , Network.DNS.Pocket.Sqlite
                     , Network.DNS.Pocket.Zookeeper
  -- other-modules:       
  -- other-extensions:    
  build-depends:       base >=4 && <5
                      ,dns
                      ,network
                      ,persistent-zookeeper >= 0.2 && < 0.3
                      ,persistent-sqlite >= 2.1 && < 3
                      ,persistent-template >= 2.1 && < 3
                      ,persistent >= 2.1 && < 3
                      ,optparse-applicative
                      ,bytestring
                      ,yaml
                      ,iproute
                      ,data-default
                      ,text
                      ,monad-control
                      ,transformers
                      ,aeson
                      ,unordered-containers
  -- hs-source-dirs:      
  ghc-options:       -Wall -O2
  default-language:    Haskell2010

executable pocket-dns
  main-is: Main.hs            
  -- other-modules:       
  -- other-extensions:    
  build-depends:       base >=4 && <5
                      ,dns
                      ,network
                      ,persistent-zookeeper
                      ,persistent-sqlite
                      ,persistent-template
                      ,persistent
                      ,optparse-applicative
                      ,text
                      ,shelly
                      ,http-conduit
                      ,bytestring
                      ,data-default
                      ,iproute
                      ,yaml
                      ,monad-control
                      ,unordered-containers
                      ,aeson
  -- hs-source-dirs:      
  ghc-options:       -Wall -threaded -rtsopts -with-rtsopts=-N -O2
  default-language:    Haskell2010

test-suite test
    type:              exitcode-stdio-1.0
    main-is:           test.hs
    hs-source-dirs:    tests,dist/build/autogen
    ghc-options:       -Wall

    build-depends: base
                 , pocket-dns
                 , transformers
                 , hspec
                 , hspec-contrib
                 , hspec-server
                 , test-sandbox
                 , hspec-test-sandbox
                 , cabal-test-bin
                 , shakespeare
                 , text
    Default-Language:   Haskell2010