Pinging @gregwebs. I've backported the relevant tweaks on the yesod-1.4 branch, to allow master to compile against persistent2. Whenever you're ready to release persistent2, we can: 1. Release persistent2. 2. Release new versions of yesod packages, which will work with persistent 1.3 and 2.0. 3. Add an upper bound in Stackage to avoid using the new persistent libraries until they're ready for primetime. 4. Release your blog post. yesod-1.4 should then remove the CPP here and only work with persistent2; the biggest "breaking change" in the 1.4 release will be remove backwards compatibility hacks for persistent, conduit, shakespeare, and wai.
49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
name: yesod-persistent
|
|
version: 1.2.3
|
|
license: MIT
|
|
license-file: LICENSE
|
|
author: Michael Snoyman <michael@snoyman.com>
|
|
maintainer: Michael Snoyman <michael@snoyman.com>
|
|
synopsis: Some helpers for using Persistent from Yesod.
|
|
category: Web, Yesod, Database
|
|
stability: Stable
|
|
cabal-version: >= 1.8
|
|
build-type: Simple
|
|
homepage: http://www.yesodweb.com/
|
|
description: Some helpers for using Persistent from Yesod.
|
|
|
|
library
|
|
build-depends: base >= 4 && < 5
|
|
, yesod-core >= 1.2.2 && < 1.3
|
|
, persistent >= 1.2 && < 2.1
|
|
, persistent-template >= 1.2 && < 2.1
|
|
, transformers >= 0.2.2
|
|
, blaze-builder
|
|
, conduit
|
|
, resourcet >= 0.4.5
|
|
, resource-pool
|
|
exposed-modules: Yesod.Persist
|
|
Yesod.Persist.Core
|
|
ghc-options: -Wall
|
|
|
|
test-suite test
|
|
type: exitcode-stdio-1.0
|
|
main-is: Spec.hs
|
|
hs-source-dirs: test
|
|
other-modules: Yesod.PersistSpec
|
|
build-depends: base
|
|
, hspec
|
|
, wai-test
|
|
, wai-extra
|
|
, yesod-core
|
|
, persistent-sqlite
|
|
, yesod-persistent
|
|
, conduit
|
|
, blaze-builder
|
|
, persistent
|
|
, text
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/yesodweb/yesod
|