packages feed

playlists-http-0.2.1.1: playlists-http.cabal

name:          playlists-http
version:       0.2.1.1
synopsis:      Library to glue together playlists and http-client
homepage:      https://code.devalot.com/open/playlists-http
bug-reports:   https://code.devalot.com/open/playlists-http/issues
license:       BSD3
license-file:  LICENSE
author:        Peter Jones <pjones@devalot.com>
maintainer:    Peter Jones <pjones@devalot.com>
copyright:     Copyright (c) 2016-2019 Peter Jones
category:      Text
build-type:    Simple
cabal-version: 1.18
description:   Simple library for resolving playlists using http-client.

--------------------------------------------------------------------------------
extra-source-files:
  AUTHORS
  README.md
  CHANGES.md

--------------------------------------------------------------------------------
source-repository head
  type:     git
  location: https://code.devalot.com/open/playlists-http.git

--------------------------------------------------------------------------------
flag build-examples
  description: Build the example programs.
  default: False
  manual: True

--------------------------------------------------------------------------------
library
  exposed-modules:
    Text.Playlist.HTTP.Simple
    Text.Playlist.HTTP.Full

  default-language: Haskell2010
  hs-source-dirs: src
  ghc-options: -Wall

  build-depends: attoparsec   >= 0.10  && < 1.0
               , base         >= 4.6   && < 5
               , bytestring   >= 0.10  && < 1.0
               , exceptions   >= 0.8   && < 0.11
               , http-client  >= 0.4   && < 0.7
               , mtl          >= 2.2   && < 2.3
               , playlists    >= 0.5   && < 1.0
               , text         >= 0.11  && < 1.3
               , transformers >= 0.4   && < 0.6

--------------------------------------------------------------------------------
executable example
  default-language: Haskell2010
  hs-source-dirs: examples
  main-is: example.hs
  ghc-options: -Wall

  if !flag(build-examples)
    buildable: False
  else
    build-depends: base
                 , http-client
                 , playlists-http
                 , text