packages feed

net-spider-rpl-cli-0.1.2.2: net-spider-rpl-cli.cabal

name:                   net-spider-rpl-cli
version:                0.1.2.2
author:                 Toshio Ito <debug.ito@gmail.com>
maintainer:             Toshio Ito <debug.ito@gmail.com>
license:                BSD3
license-file:           LICENSE
synopsis:               CLI executable of NetSpider.RPL.
description:            CLI executable of "NetSpider.RPL". It's also an example of "NetSpider.CLI" module.
                        .
                        __This package is an experimental release. CLI interface and functionality may change drastically in future.__
                        .
                        For detail, see README.md
stability:              alpha
category:               Database
cabal-version:          >= 1.10
build-type:             Simple
extra-source-files:     README.md, ChangeLog.md
homepage:               https://github.com/debug-ito/net-spider
bug-reports:            https://github.com/debug-ito/net-spider/issues

library
  default-language:     Haskell2010
  hs-source-dirs:       src
  ghc-options:          -Wall -fno-warn-unused-imports
  default-extensions:   StrictData
  other-extensions:     OverloadedStrings, RankNTypes
  exposed-modules:      NetSpider.RPL.CLI
  -- other-modules:        
  build-depends:        base >=4.11.1.0 && <4.13,
                        net-spider >=0.4.0.0 && <0.5,
                        net-spider-rpl >=0.4.0.0 && <0.5,
                        net-spider-cli >=0.2.0.0 && <0.3,
                        text >=1.2.2.2 && <1.3,
                        unordered-containers >=0.2.8 && <0.3,
                        greskell >=1.0.0.0 && <1.1,
                        optparse-applicative >=0.14.3.0 && <0.16,
                        monad-logger >=0.3.28.1 && <0.4,
                        time >=1.8.0.2 && <1.10

flag static
  description: Static link
  default: False

executable net-spider-rpl-cli
  default-language:     Haskell2010
  hs-source-dirs:       app
  main-is:              Main.hs
  ghc-options:          -Wall -fno-warn-unused-imports -threaded
  -- other-modules:        
  -- default-extensions:   
  -- other-extensions:     
  build-depends:        base, net-spider-rpl-cli
  if flag(static)
    ld-options:         -static

test-suite spec
  type:                 exitcode-stdio-1.0
  default-language:     Haskell2010
  hs-source-dirs:       test
  ghc-options:          -Wall -fno-warn-unused-imports "-with-rtsopts=-M512m"
  main-is:              Spec.hs
  -- default-extensions:   
  -- other-extensions:     
  other-modules:        NetSpider.RPL.CLISpec
  build-depends:        base, net-spider-rpl-cli, net-spider, net-spider-rpl, optparse-applicative, net-spider-cli,
                        hspec >=2.5.5,
                        ip >=1.3.0 && <1.8

source-repository head
  type:                 git
  location:             https://github.com/debug-ito/net-spider.git