packages feed

persistent-database-url-1.0.0: persistent-database-url.cabal

name:                   persistent-database-url
version:                1.0.0
author:                 Joe Ferris <jferris@thoughtbot.com>
maintainer:             Joe Ferris <jferris@thoughtbot.com>
license:                MIT
license-File:           LICENSE
synopsis:               Parse DATABASE_URL into configuration types for Persistent
description:
  Converts the parameters parsed from a database url to the concrete
  configuration types required by persistent.
  .
  Currently, only persistent-postgresql's PostgresConf is provided.
  .

cabal-Version:          >= 1.10
build-Type:             Simple
category:               Database

library
  default-language:     Haskell2010
  hs-source-dirs:       src
  ghc-options:          -Wall
  exposed-modules:      Database.Persist.URL
  build-depends:        base >= 4 && < 5
                      , bytestring
                      , persistent-postgresql >= 1.0.0
                      , uri-bytestring
                      , fail

test-suite spec
  type:                 exitcode-stdio-1.0
  default-language:     Haskell2010
  hs-source-dirs:       test
  ghc-options:          -Wall
  main-is:              Spec.hs
  build-depends:        base >= 4.7.0.0
                      , hspec
                      , persistent-database-url
                      , persistent-postgresql

source-repository head
  type:                 git
  location:             https://github.com/thoughtbot/persistent-database-url