cabal-version: 1.12 -- This file has been generated from package.yaml by hpack version 0.34.4. -- -- see: https://github.com/sol/hpack name: network-wait version: 0.2.0.0 synopsis: Lightweight library for waiting on networked services to become available. description: Please see the README on GitHub at category: Network homepage: https://github.com/mbg/network-wait#readme bug-reports: https://github.com/mbg/network-wait/issues author: Michael B. Gale maintainer: github@michael-gale.co.uk copyright: 2022 Michael B. Gale license: MIT license-file: LICENSE build-type: Simple extra-source-files: README.md ChangeLog.md source-repository head type: git location: https://github.com/mbg/network-wait flag postgres description: Enable Postgres support. manual: True default: False flag redis description: Enable Redis support. manual: True default: False library exposed-modules: Network.Wait other-modules: Paths_network_wait hs-source-dirs: src ghc-options: -Wall build-depends: base >=4.7 && <5 , exceptions , network , retry if flag(postgres) build-depends: postgresql-simple if flag(redis) build-depends: hedis if flag(postgres) exposed-modules: Network.Wait.PostgreSQL if flag(redis) exposed-modules: Network.Wait.Redis default-language: Haskell2010 test-suite network-wait-test type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: Paths_network_wait hs-source-dirs: test ghc-options: -Wall build-depends: base >=4.7 && <5 , exceptions , network , network-simple , network-wait , retry , tasty , tasty-hunit if flag(postgres) build-depends: postgresql-simple if flag(redis) build-depends: hedis default-language: Haskell2010 test-suite network-wait-test-postgres type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: Paths_network_wait hs-source-dirs: test-postgres ghc-options: -Wall build-depends: base >=4.7 && <5 , exceptions , network , network-wait , retry , tasty , tasty-hunit if flag(postgres) build-depends: postgresql-simple if flag(redis) build-depends: hedis if flag(postgres) buildable: True else buildable: False default-language: Haskell2010 test-suite network-wait-test-redis type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: Paths_network_wait hs-source-dirs: test-redis ghc-options: -Wall build-depends: base >=4.7 && <5 , exceptions , network , network-wait , retry , tasty , tasty-hunit if flag(postgres) build-depends: postgresql-simple if flag(redis) build-depends: hedis if flag(redis) buildable: True else buildable: False default-language: Haskell2010