name: postgresql-simple-url version: 0.2.1.0 synopsis: Parse postgres:// url into ConnectInfo description: The 'Database.PostgreSQL.Simple.URL' module in this package exports two helper functions 'parseDatabaseUrl' and 'urlToConnectInfo' to construct 'ConnectInfo' from URI (or string). . @ >>> parseDatabaseUrl "postgres://foo:bar@example.com:2345/database" Just (ConnectInfo "example.com" 2345 "foo" "bar" "database") @ homepage: https://github.com/futurice/postgresql-simple-url license: MIT license-file: LICENSE author: Oleg Grenrus maintainer: Oleg Grenrus copyright: Copyright © 2014-2018 Futurice OY, Oleg Grenrus stability: experimental category: Database build-type: Simple extra-source-files: README.md, CHANGELOG.md cabal-version: >=1.10 tested-with: GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1 source-repository head type: git location: https://github.com/futurice/postgresql-simple-url library exposed-modules: Database.PostgreSQL.Simple.URL build-depends: base >=4.6 && <4.12, split >=0.2 && <0.3, network-uri >=2.6 && <2.7, postgresql-simple >=0.4 && <0.6 hs-source-dirs: src ghc-options: -Wall default-language: Haskell2010 test-suite test default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: Tests.hs ghc-options: -Wall build-depends: base, postgresql-simple, tasty >=0.10 && <1.1, tasty-quickcheck >=0.8 && <0.11, postgresql-simple-url