stackage-curator-0.15.0.0: Tools for curating Stackage bundles

Safe HaskellNone
LanguageHaskell2010

Stackage.PackageDescription

Description

Manipulate GenericPackageDescription from Cabal into something more useful for us.

Synopsis

Documentation

data SimpleDesc Source #

A simplified package description that tracks:

  • Package dependencies
  • Build tool dependencies
  • Provided executables

It has fully resolved all conditionals

Constructors

SimpleDesc 

Fields

toSimpleDesc :: MonadThrow m => CheckCond -> SimplifiedPackageDescription -> m SimpleDesc Source #

Convert a GenericPackageDescription into a SimpleDesc by following the constraints in the provided CheckCond.

data Component Source #

Instances