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

Module documentation for 0.1.1

This version can be pinned in stack with:simple-cabal-0.1.1@sha256:0cc9dd710ca9d9f68c6f5c24e3018cc6d2e2cc7475cefc92887d6340f1d00c7f,1257

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.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 1 package in nightly-2019-11-29(full list with versions):
comments powered byDisqus