proto-lens-protoc 0.1.0.2 → 0.1.0.3
raw patch · 2 files changed
+8/−5 lines, 2 filesdep ~proto-lensPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: proto-lens
API changes (from Hackage documentation)
Files
proto-lens-protoc.cabal view
@@ -1,5 +1,5 @@ name: proto-lens-protoc-version: 0.1.0.2+version: 0.1.0.3 synopsis: Protocol buffer compiler for the proto-lens library. description: Turn protocol buffer files (.proto) into Haskell files (.hs) which@@ -38,7 +38,7 @@ , haskell-src-exts == 1.17.* , lens-family == 1.2.* , process >= 1.2 && < 1.5- , proto-lens == 0.1.0.2+ , proto-lens == 0.1.0.3 , text == 1.2.* reexported-modules: -- Modules that are needed by the generated Haskell files.@@ -67,7 +67,7 @@ , lens-family == 1.2.* -- Specify an exact version of `proto-lens`, since it's tied closely -- to the generated code.- , proto-lens == 0.1.0.2+ , proto-lens == 0.1.0.3 , text == 1.2.* hs-source-dirs: src other-modules:
src/Data/ProtoLens/Setup.hs view
@@ -13,12 +13,17 @@ -- `build-dependencies`. -- -- See @README.md@ for instructions on how to use proto-lens with Cabal.+{-# LANGUAGE CPP #-} module Data.ProtoLens.Setup ( defaultMainGeneratingProtos , generatingProtos , generateProtos ) where +#if __GLASGOW_HASKELL__ < 709+import Data.Functor ((<$>))+#endif+ import Distribution.PackageDescription ( PackageDescription(..) , benchmarkBuildInfo@@ -30,8 +35,6 @@ ) import Distribution.Simple.BuildPaths (autogenModulesDir) import Distribution.Simple.LocalBuildInfo (LocalBuildInfo)-import Distribution.Simple.Program (knownPrograms, ConfiguredProgram(..))-import Distribution.Simple.Program.Types (simpleProgram) import Distribution.Simple.Utils (matchFileGlob) import Distribution.Simple ( defaultMainWithHooks