diff --git a/app/Foliage/Meta/Aeson.hs b/app/Foliage/Meta/Aeson.hs index bae3cc7..cd74bd1 100644 --- a/app/Foliage/Meta/Aeson.hs +++ b/app/Foliage/Meta/Aeson.hs @@ -10,7 +10,6 @@ import Data.Text import Distribution.Types.Orphans () import Foliage.Meta import Foliage.Utils.Aeson -import Network.URI (URI) deriving via MyAesonEncoding RevisionSpec instance ToJSON RevisionSpec @@ -29,7 +28,3 @@ instance ToJSON PackageVersionSource where { sumEncoding = ObjectWithSingleField , omitNothingFields = True } - -instance ToJSON URI where - toJSON :: URI -> Value - toJSON = toJSON . show diff --git a/foliage.cabal b/foliage.cabal index 6086770..4c1ff7e 100644 --- a/foliage.cabal +++ b/foliage.cabal @@ -44,7 +44,7 @@ executable foliage build-depends: base >=4.14.3.0 && <4.20, - aeson >=2.0.3.0 && <2.3, + aeson >=2.2 && <2.3, base16 >=0.3.2.0 && <1.1, binary >=0.8.9.0 && <0.9, bytestring >=0.10.12.0 && <0.13,