packages feed

simple-cabal 0.1.3 → 0.1.3.1

raw patch · 3 files changed

+29/−11 lines, 3 files

Files

README.md view
@@ -4,9 +4,8 @@ [![BSD3 license](https://img.shields.io/badge/license-BSD3-blue.svg)](LICENSE) [![Stackage Lts](http://stackage.org/package/simple-cabal/badge/lts)](http://stackage.org/lts/package/simple-cabal) [![Stackage Nightly](http://stackage.org/package/simple-cabal/badge/nightly)](http://stackage.org/nightly/package/simple-cabal)-[![Build status](https://secure.travis-ci.org/juhp/simple-cabal.svg)](https://travis-ci.org/juhp/simple-cabal) -A small compatibility wrapper over Cabal (builds for ghc 7 and 8).+A small compatibility wrapper over Cabal.  ``` pkgid <- getPackageId
SimpleCabal.hs view
@@ -120,7 +120,11 @@ #endif #if MIN_VERSION_Cabal(2,2,0) import Distribution.PackageDescription.Parsec-       (readGenericPackageDescription, parseGenericPackageDescriptionMaybe)+       (+#if !MIN_VERSION_Cabal(3,8,0)+         readGenericPackageDescription,+#endif+         parseGenericPackageDescriptionMaybe) #elif MIN_VERSION_Cabal(2,0,0) import Distribution.PackageDescription.Parse (readGenericPackageDescription) #else@@ -141,6 +145,9 @@     configCompiler #endif     )+#if MIN_VERSION_Cabal(3,8,0)+import Distribution.Simple.PackageDescription (readGenericPackageDescription)+#endif #if MIN_VERSION_Cabal(2,0,0) --import Distribution.Simple.BuildToolDepends (getAllToolDependencies) import Distribution.Simple.Program   (defaultProgramDb)
simple-cabal.cabal view
@@ -1,6 +1,6 @@ cabal-version:       >= 1.10 name:                simple-cabal-version:             0.1.3+version:             0.1.3.1 synopsis:            Cabal file wrapper library description:         Find and read .cabal files, and                      a Cabal dependency compatibility layer.@@ -10,14 +10,14 @@ license-file:        LICENSE author:              Jens Petersen maintainer:          juhpetersen@gmail.com-copyright:           2019-2020 Jens Petersen+copyright:           2019-2020,2022 Jens Petersen category:            Distribution build-type:          Simple extra-source-files:  README.md                    , ChangeLog.md-tested-with:         GHC == 8.10.1, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4,-                     GHC == 8.2.2, GHC == 8.0.2, GHC == 7.10.3, GHC == 7.8.4,-                     GHC == 7.6.3, GHC == 7.4.2, GHC == 7.0.4+tested-with:         GHC == 9.0.2, GHC == 9.2.5, GHC == 9.4.3+                     GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5, GHC == 8.4.4,+                     GHC == 8.2.2, GHC == 8.0.2, GHC == 7.10.3, GHC == 7.8.4  source-repository head   type:                git@@ -26,13 +26,25 @@ library   exposed-modules:     SimpleCabal -   build-depends:       base < 5,                        bytestring,                        Cabal,                        directory,                        filepath -  ghc-options:         -Wall-   default-language:    Haskell2010++  GHC-Options:         -Wall+  if impl(ghc >= 8.0)+    ghc-options:       -Wcompat+                       -Widentities+                       -Wincomplete-uni-patterns+                       -Wincomplete-record-updates+                       -Wredundant-constraints+  if impl(ghc >= 8.2)+    ghc-options:       -fhide-source-paths+  if impl(ghc >= 8.4)+    ghc-options:       -Wmissing-export-lists+                       -Wpartial-fields+  if impl(ghc >= 8.10)+    ghc-options:       -Wunused-packages