packages feed

azurify-0.4.0.5: azurify.cabal

name:                azurify
version:             0.4.0.5
synopsis:            A simple library for accessing Azure blob storage
description:         An interface for a few basic functions of the Microsoft Azure blob storage. Creating and deleting containers as well as uploading, downloading and breaking leases of blobs is supported.
homepage:            http://arnovanlumig.com/azure
license:             BSD3
license-file:        LICENSE
author:              Arno van Lumig
maintainer:          Greg Weber <greg@gregweber.info>, arno@vanlumig.com
category:            Development
build-type:          Simple
cabal-version:       >=1.8

extra-source-files: Azure/BlobDataTypes.hs, Azure/BlobListParser.hs, readme.md

Flag no-hxt
  Description: no xml parsing, and no hxt dependency
  Default: False

Flag library-only
  Description: don't build the executable
  Default: False

library
  ghc-options: -Wall

  if flag(no-hxt)
      cpp-options:   -DNO_XML

  extensions:
    OverloadedStrings
    CPP
    RecordWildCards

  exposed-modules:
    Azure

  if flag(no-hxt)
    other-modules:
      Azure.BlobDataTypes
  else
    other-modules:
      Azure.BlobDataTypes
      Azure.BlobListParser

  build-depends:
    base >= 4.5 && < 5,
    text,
    data-default,
    bytestring >= 0.9.2.1,
    http-conduit >= 1.5.0.3,
    http-types >= 0.7.0,
    transformers >= 0.3.0.0,
    conduit >= 0.5.2.2,
    network >= 2.3.0.13,
    http-date >= 0.0.2,
    time >= 1.4,
    SHA >= 1.5.1,
    base64-bytestring >= 0.1.2.0,
    case-insensitive >= 0.4.0.1,
    utf8-string >= 0.3.7,
    old-locale >= 1.0.0.4,
    unix-compat

  if !flag(no-hxt)
    build-depends:
      hxt >= 9.2.2,
      hxt-unicode >= 9.0.2

executable azurify
  if flag(library-only)
      Buildable: False

  if flag(no-hxt)
      cpp-options:   -DNO_XML

  ghc-options: -O2 -rtsopts
  -- ld-options: -static -pthread
  extensions:
    OverloadedStrings
    CPP
    RecordWildCards

  main-is: azurify.hs
  build-depends:
    base >= 4.5 && < 5,
    text,
    data-default,
    bytestring >= 0.9.2.1,
    http-conduit >= 1.5.0.3,
    http-types >= 0.7.0,
    transformers >= 0.3.0.0,
    conduit >= 0.5.2.2,
    network >= 2.3.0.13,
    http-date >= 0.0.2,
    time >= 1.4,
    old-locale >= 1.0.0.4,
    SHA >= 1.5.1,
    base64-bytestring >= 0.1.2.0,
    case-insensitive >= 0.4.0.1,
    utf8-string >= 0.3.7,
    cmdargs >= 0.10,
    directory >= 1.1.0.2,
    unix-compat

  if !flag(no-hxt)
    build-depends:
      hxt >= 9.2.2,
      hxt-unicode >= 9.0.2