summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoral <>2016-06-26 21:56:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2016-06-26 21:56:00 (GMT)
commitbc6baa347f006122bd6dba495a3bcd768553395c (patch)
treea6533e6100fb89b808c7e2d10e00736bf4bde1ce
parentd192433f87a48195593b4ef9aedc26e143875924 (diff)
version 0.5.0.10.5.0.1
-rw-r--r--opml-conduit.cabal2
-rw-r--r--test/Arbitrary.hs4
2 files changed, 5 insertions, 1 deletions
diff --git a/opml-conduit.cabal b/opml-conduit.cabal
index f7e5992..277fe5b 100644
--- a/opml-conduit.cabal
+++ b/opml-conduit.cabal
@@ -1,5 +1,5 @@
name: opml-conduit
-version: 0.5.0.0
+version: 0.5.0.1
synopsis: Streaming parser/renderer for the OPML 2.0 format.
description:
This library implements the OPML 2.0 standard (<http://dev.opml.org/spec2.html>) as a 'conduit' parser/renderer.
diff --git a/test/Arbitrary.hs b/test/Arbitrary.hs
index 74c6d11..392733b 100644
--- a/test/Arbitrary.hs
+++ b/test/Arbitrary.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
@@ -32,7 +33,10 @@ import Text.OPML.Types
import URI.ByteString
-- }}}
+#if MIN_VERSION_base(4,9,0)
+#else
deriving instance Generic Version
+#endif
-- | OPML version may only be @1.0@, @1.1@ or @2.0@
instance Arbitrary Version where