packages feed

stackage-types 1.0.1.1 → 1.1.0

raw patch · 3 files changed

+11/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Stackage.Types: pcSkipBuild :: PackageConstraints -> Bool
- Stackage.Types: PackageConstraints :: VersionRange -> Maybe Maintainer -> TestState -> TestState -> Bool -> Map FlagName Bool -> Bool -> PackageConstraints
+ Stackage.Types: PackageConstraints :: VersionRange -> Maybe Maintainer -> TestState -> TestState -> Bool -> Map FlagName Bool -> Bool -> Bool -> PackageConstraints

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.1.0++* Added `pcSkipBuild`+ ## 1.0.1  * Added `STNightly2`
Stackage/Types.hs view
@@ -214,6 +214,10 @@     , pcBuildBenchmarks  :: Bool     , pcFlagOverrides    :: Map FlagName Bool     , pcEnableLibProfile :: Bool+    , pcSkipBuild        :: Bool+    -- ^ Don't even bother building this library, useful when dealing with+    -- OS-specific packages. See:+    -- https://github.com/fpco/stackage-curator/issues/3     }     deriving (Show, Eq) instance ToJSON PackageConstraints where@@ -224,6 +228,7 @@         , "build-benchmarks" .= pcBuildBenchmarks         , "flags" .= Map.mapKeysWith const unFlagName pcFlagOverrides         , "library-profiling" .= pcEnableLibProfile+        , "skip-build" .= pcSkipBuild         ]       where         addMaintainer = maybe id (\m -> (("maintainer" .= m):)) pcMaintainer@@ -237,6 +242,7 @@         pcFlagOverrides <- Map.mapKeysWith const mkFlagName <$> o .: "flags"         pcMaintainer <- o .:? "maintainer"         pcEnableLibProfile <- fmap (fromMaybe True) (o .:? "library-profiling")+        pcSkipBuild <- o .:? "skip-build" .!= False         return PackageConstraints {..}  data TestState = ExpectSuccess
stackage-types.cabal view
@@ -1,5 +1,5 @@ name:                stackage-types-version:             1.0.1.1+version:             1.1.0 synopsis:            Shared data types between various Stackage packages description:         For more information, see <https://www.stackage.org/package/stackage-types> homepage:            https://github.com/fpco/stackage-types