BSD-3-Clause licensed by Jens Petersen
Maintained by [email protected]
This version can be pinned in stack with:simple-cabal-0.1.3.1@sha256:4cda7f3b41994d9e7df79b4273c28232546f0b85bd5a4f31c1c713590d894f75,1768

Module documentation for 0.1.3.1

Used by 3 packages in lts-22.21(full list with versions):

simple-cabal

Hackage BSD3 license Stackage Lts Stackage Nightly

A small compatibility wrapper over Cabal.

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

Changes

Changelog

simple-cabal uses PVP Versioning

0.1.3 (2020-10-04)

  • add allLibraries (from Cabal>= 2.0) and Library
  • deprecate allBuildInfo

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