BSD-3-Clause licensed by Jens Petersen
Maintained by [email protected]
This version can be pinned in stack with:simple-cabal-0.1.2@sha256:9860fe76b1975e189909addc828a7135d305294cbc62b495796209e30580c44a,1284

Module documentation for 0.1.2

Used by 2 packages in lts-16.11(full list with versions):

simple-cabal

Hackage BSD3 license Stackage Lts Stackage Nightly Build status

A small compatibility wrapper over Cabal (builds for ghc 7 and 8).

pkgid <- getPackageId
putStrLn $ showPkgId pkgid
cabalfile <- findCabalFile
genPkgDesc <- readGenericPackageDescription normal cabalfile

Changes

Changelog

simple-cabal uses PVP Versioning

0.1.2 (2020-05-23)

  • readFinalPackageDescription deprecates finalPackageDescription
  • add makeFinalPackageDescription
  • add parseFinalPackageDescription for Cabal-2.2+
  • export simpleParse
  • export hasExes and hasLibs

0.1.1 (2019-10-05)

  • fix tryFindPackageDesc on Cabal 3

0.1.0 (2019-09-30)

  • add buildDependencies, setupDependencies, testsuiteDependencies (from cabal-rpm), and tryFindPackageDesc
  • more deps compatibility: showVersion, depPkgName, exeDepName, pkgcfgDepName
  • export PackageName, mkPackageName, unPackageName, allBuildInfo, BuildInfo, FlagName & mkFlagName, licenseFiles
  • no longer export: normal
  • support Cabal-3 (ghc-8.8.1)

0.0.0.1 (2019-07-09)

  • allow building with Cabal 1!

0.0.0 (2019-06-08)

  • Initially version, mostly taken from cabal-rpm PackageUtils.hs