packages feed

tpb-0.4.0.0: tpb.cabal

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

name:                tpb
version:             0.4.0.0
synopsis:            Applications for interacting with the Pushbullet API
description:
  This package provides two programs, tpb and pb-notify, for interacting with
  the Pushbullet API. The former is primarily used for sending SMS whereas the
  latter is used for showing desktop notifications when SMS are received.
  tpb additionally supports a number of additional management commands for
  creating and deleting resources inside PushBullet.
  pb-notify is responsible for integration with PushBullet's Universal
  Copy/Paste feature. It maintains an internal buffer that is kept in sync with
  PushBullet's clipboard. This buffer can be accessed via pb-notify's built-in
  HTTP server. A POST request to the /clip endpoint of the server will in turn
  send the necessary request to PushBullet to set the clipboard of all
  connected devices.
license:             GPL-3
license-file:        LICENSE
author:              Jacob Thomas Errington
maintainer:          hackage@mail.jerrington.me
copyright:           Jacob Thomas Errington 2017
category:            Web
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10

source-repository head
  type: git
  location: https://github.com/tsani/tpb

source-repository this
  type: git
  location: https://github.com/tsani/tpb/releases/tag/v0.4.0.0
  tag: v0.4.0.0

executable tpb
  hs-source-dirs: src/tpb
  default-language: Haskell2010
  default-extensions:
    DataKinds
    DeriveFunctor
    DeriveTraversable
    GADTs
    GeneralizedNewtypeDeriving
    StandaloneDeriving
  main-is: Main.hs
  other-modules:
    Command,
    Count,
    Format,
    Request,
    ResponseFormat,
    ResponseFormat.HumanTable,
    ResponseFormat.JSV,
    Sum
  ghc-options:
    -Wall
  build-depends:
    pushbullet-types >=0.4 && <0.5,
    servant-pushbullet-client >=0.4 && <0.5,

    aeson >=1.0 && <1.2,
    ansi-wl-pprint >=0.6 && <0.7,
    base >=4.9 && <4.10,
    boxes >=0.1 && <0.2,
    bytestring >=0.10 && <0.11,
    directory >=1.2 && <1.4,
    free >=4.12 && <4.13,
    filepath >=1.4 && <1.5,
    http-client >=0.5 && <0.6,
    http-client-tls >=0.3 && <0.4,
    microlens >=0.4 && <0.5,
    mtl >=2.2 && <2.3,
    optparse-applicative >=0.13 && <0.14,
    text >=1.2 && <1.3,
    time >=1.6 && <1.7,
    servant >=0.9 && <0.12,
    servant-client >=0.9 && <0.12

executable pb-notify
  hs-source-dirs: src/pb-notify
  default-language: Haskell2010
  main-is: Main.hs
  ghc-options:
    -Wall
  build-depends:
    pushbullet-types >=0.4 && <0.5,
    servant-pushbullet-client >=0.4 && <0.5,

    aeson >=1.0 && <1.2,
    async >=2.1 && <2.2,
    base >=4.9 && <4.10,
    bytestring >=0.10 && <0.11,
    containers >=0.5 && <0.6,
    http-client >=0.5 && <0.6,
    http-client-tls >=0.3 && <0.4,
    libnotify >=0.2 && <0.3,
    servant-client >=0.9 && <0.12,
    servant-server >=0.9 && <0.12,
    text >=1.2 && <1.3,
    time >=1.6 && <1.7,
    websockets >=0.10 && <0.11,
    wai >=3.2 && <3.3,
    warp >=3.2 && <3.3,
    wuss >=1.1 && <1.2