packages feed

pub-3.0.0: pub.cabal

Name:                   pub
Version:                3.0.0
Author:                 Parnell Springmeyer <parnell@digitalmentat.com>
Maintainer:             Parnell Springmeyer <parnell@digitalmentat.com>
License:                BSD3
License-File:           LICENSE
Synopsis:               Pipe stdin to a redis pub/sub channel
Category:               Utility

Description:

  <<https://travis-ci.org/ixmatus/pub.svg?branch=master>>
  .
  `pub` is an executable for piping data from stdin to a specified
  Redis pub/sub channel.
  .
  A typical use for this tool is to tail a log file, match a specific
  line with grep, and pipe it into Redis where multiple consumers can
  do something different with each incoming log line:
  .
  > tail -F /var/log/somelogfile.log | grep "tracker.gps.parsed" | pub loglines
  .
  It also comes with a utility named `sub` for piping from a Redis
  pub/sub channel to stdout:
  .
  > sub loglines | grep "somemsg"

Cabal-Version:          >= 1.10
Build-Type:             Simple

Data-Files:
  LICENSE
  README.md

Executable pub
  Default-Language:     Haskell2010
  HS-Source-Dirs:       pub
  GHC-Options:          -threaded -Wall -rtsopts -with-rtsopts=-N
  Main-Is:              Main.hs
  Build-Depends:
                base             >= 4.9      && < 5
              , bytestring       >= 0.10.8.1 && < 0.11
              , hedis            >= 0.9.5    && < 1.0
              , optparse-generic >= 1.1.5    && < 2.0
              , pipes            >= 4.1.9    && < 5.0
              , pipes-bytestring >= 2.1.4    && < 3.0
              , text             >= 1.2.2.1  && < 2.0

Executable sub
  Default-Language:     Haskell2010
  HS-Source-Dirs:       sub
  GHC-Options:          -threaded -Wall -rtsopts -with-rtsopts=-N
  Main-Is:              Main.hs
  Build-Depends:
                base             >= 4.9 && < 5
              , bytestring       >= 0.10.8.1 && < 0.11
              , hedis            >= 0.9.5    && < 1.0
              , optparse-generic >= 1.1.5    && < 2.0
              , text             >= 1.2.2.1  && < 2.0

Source-Repository head
  Type:                 git
  Location:             https://github.com/ixmatus/pub