BSD-3-Clause licensed by Jens Petersen
Maintained by juhpetersen@gmail.com

Module documentation for 0.1.3

This version can be pinned in stack with:simple-cabal-0.1.3@sha256:4a1695c1356ae9d8fc7332cbe2fe2da2b6892c6eef0a389f31b65294652ab2f0,1289

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.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
Used by 2 packages in lts-16.18(full list with versions):