cabal-version: 3.0 name: hasql-url version: 0.2.0.0 synopsis: Parse PostgreSQL connection URI into Hasql.Connection Settings description: The 'Hasql.URL' module in this package exports a helper function 'parseDatabaseUrl' to construct 'Settings' from a URI (or string). . @ >>> parseDatabaseUrl "postgres://username:password@localhost:5433/database" Just "host=localhost port=5433 user=username password=password dbname=database" @ homepage: https://github.com/shinzui/hasql-url bug-reports: https://github.com/shinzui/hasql-url/issues license: MIT license-file: LICENSE author: Nadeem Bitar maintainer: Nadeem Bitar copyright: 2020 Nadeem Bitar category: Utility build-type: Simple extra-doc-files: CHANGELOG.md README.md tested-with: GHC ==8.10.2 source-repository head type: git location: https://github.com/shinzui/hasql-url.git common common-options build-depends: base >=4.14 && <5 ghc-options: -Wall -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates if impl(ghc >=8.0) ghc-options: -Wredundant-constraints if impl(ghc >=8.2) ghc-options: -fhide-source-paths if impl(ghc >=8.4) ghc-options: -Wmissing-export-lists -Wpartial-fields if impl(ghc >=8.8) ghc-options: -Wmissing-deriving-strategies default-language: Haskell2010 library import: common-options build-depends: , bytestring ^>=0.10 , hasql ^>=1.5 , network-uri ^>=2.6.3 , split ^>=0.2.3 hs-source-dirs: src exposed-modules: Hasql.URL test-suite hasql-url-test import: common-options type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Spec.hs build-depends: , hasql , hasql-url , tasty ^>=1.4 , tasty-quickcheck ^>=0.10 ghc-options: -threaded -rtsopts -with-rtsopts=-N