Slightly bump the version in the cabal field to 0.2.1.0.1. Otherwise, cabal-install will use the dependency information from hackage, trying to re-install yesod-json using aeson-native. This dependency was changed in 0.2.1 to aeson in Debian.
Sat Sep 17 08:46:24 UTC 2011 Joachim Breitner <mail@joachim-breitner.de>
* Slightly bump the version in the cabal field to 0.2.1.0.1. Otherwise, cabal-install will use the dependency information from hackage, trying to re-install yesod-json using aeson-native. This dependency was changed in 0.2.1 to aeson in Debian.
diff -rN -u old-haskell-yesod-json/changelog new-haskell-yesod-json/changelog
--- old-haskell-yesod-json/changelog 2014-04-19 09:25:52.107303509 +0000
+++ new-haskell-yesod-json/changelog 2014-04-19 09:25:52.131303510 +0000
@@ -1,3 +1,14 @@
+haskell-yesod-json (0.2.1-2) UNRELEASED; urgency=low
+
+ * Slightly bump the version in the cabal field to 0.2.1.0.1. Otherwise,
+ cabal-install will use the dependency information from hackage, trying to
+ re-install yesod-json using aeson-native. This dependency was changed in
+ 0.2.1 to aeson in Debian.
+ Also see http://hackage.haskell.org/trac/hackage/ticket/884 for a proper
+ solution.
+
+ -- Joachim Breitner <nomeata@debian.org> Sat, 17 Sep 2011 10:29:29 +0200
+
haskell-yesod-json (0.2.1-1) unstable; urgency=low
* Initial release.
diff -rN -u old-haskell-yesod-json/patches/bump-cabal-version new-haskell-yesod-json/patches/bump-cabal-version
--- old-haskell-yesod-json/patches/bump-cabal-version 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-yesod-json/patches/bump-cabal-version 2014-04-19 09:25:52.131303510 +0000
@@ -0,0 +1,19 @@
+Description: Bump cabal version number
+ Slightly bump the version in the cabal field to 0.2.1.0.1. Otherwise,
+ cabal-install will use the dependency information from hackage, trying to
+ re-install yesod-json using aeson-native. This dependency was changed in
+ 0.2.1 to aeson in Debian.
+ .
+ Also see http://hackage.haskell.org/trac/hackage/ticket/884 for a proper
+ solution.
+Author: Joachim Breitner <nomeata@debian.org>
+
+--- haskell-yesod-json-0.2.1.orig/yesod-json.cabal
++++ haskell-yesod-json-0.2.1/yesod-json.cabal
+@@ -1,5 +1,5 @@
+ name: yesod-json
+-version: 0.2.1
++version: 0.2.1.0.1
+ license: BSD3
+ license-file: LICENSE
+ author: Michael Snoyman <michael@snoyman.com>
diff -rN -u old-haskell-yesod-json/patches/series new-haskell-yesod-json/patches/series
--- old-haskell-yesod-json/patches/series 2014-04-19 09:25:52.107303509 +0000
+++ new-haskell-yesod-json/patches/series 2014-04-19 09:25:52.131303510 +0000
@@ -1 +1,2 @@
force-regular-aeson.diff
+bump-cabal-version