cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack

name:           http-download
version:        0.2.1.0
synopsis:       Verified downloads with retries
description:    Higher level HTTP download APIs include verification of content and retries
category:       Development
homepage:       https://github.com/commercialhaskell/http-download#readme
bug-reports:    https://github.com/commercialhaskell/http-download/issues
author:         Michael Snoyman
maintainer:     michael@snoyman.com
copyright:      2018-2023 FP Complete
license:        BSD3
license-file:   LICENSE
build-type:     Simple

source-repository head
  type: git
  location: https://github.com/commercialhaskell/http-download

library
  exposed-modules:
      Network.HTTP.Download
      Network.HTTP.Download.Verified
  other-modules:
      Paths_http_download
  hs-source-dirs:
      src/
  build-depends:
      base >=4.10 && <5
    , base64-bytestring
    , bytestring
    , conduit
    , conduit-extra
    , crypton
    , crypton-conduit
    , directory
    , exceptions
    , filepath
    , http-client
    , http-conduit
    , http-types
    , memory
    , path
    , path-io
    , retry
    , rio
    , rio-prettyprint
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Network.HTTP.Download.VerifiedSpec
      Paths_http_download
  hs-source-dirs:
      test
  build-depends:
      base >=4.10 && <5
    , crypton
    , hspec
    , hspec-discover
    , http-client
    , http-download
    , path
    , path-io
    , retry
    , rio
    , rio-prettyprint
  default-language: Haskell2010
