name:                VKHS
version:             1.9.2
synopsis:            Provides access to Vkontakte social network via public API
description:
    Provides access to Vkontakte API methods. Library requires no interaction
    with the user during Implicit-flow authentication.

license:             BSD3
license-file:        LICENSE
author:              Sergey Mironov
maintainer:          grrwlf@gmail.com
copyright:           Copyright (c) 2012, Sergey Mironov
category:            Web
build-type:          Simple
cabal-version:       >=1.8
homepage:            http://github.com/grwlf/vkhs
extra-source-files:  CHANGELOG.md README.md

library
  hs-source-dirs:    src
  other-modules:
                     Network.Shpider.Forms
                     Network.Shpider.Pairs
                     Network.Shpider.TextUtils
                     Text.HTML.TagSoup.Parsec
                     Text.Namefilter
                     Text.PFormat

  exposed-modules:
                     Web.VKHS
                     Web.VKHS.Types
                     Web.VKHS.Client
                     Web.VKHS.Login
                     Web.VKHS.Coroutine
                     Web.VKHS.Imports
                     Web.VKHS.API
                     Web.VKHS.API.Types
                     Web.VKHS.API.Base
                     Web.VKHS.API.Simple

  build-depends:     base >=4.6 && <5,
                     containers,
                     mtl,
                     bytestring,
                     http-client,
                     http-client-tls,
                     network-uri,
                     pipes,
                     pipes-http,
                     process,
                     time,
                     data-default-class,
                     parsec,
                     tagsoup,
                     case-insensitive,
                     http-types,
                     split,
                     utf8-string,
                     clock,
                     optparse-applicative,
                     aeson,
                     aeson-pretty,
                     vector,
                     filepath,
                     directory,
                     pretty-show,
                     scientific,
                     text,
                     hashable,
                     flippers,
                     regexpr
  ghc-options: -Wall -Wno-unused-imports -Wno-unused-matches

executable vkq
  hs-source-dirs:    app/vkq, app/common
  main-is:           Main.hs
  other-modules:
                     Util
  build-depends:     base>=4.6 && < 5,
                     regexpr,
                     text,
                     VKHS,
                     directory,
                     filepath,
                     mtl,
                     optparse-applicative,
                     parsec,
                     bytestring