stackage-curator-0.7.1.1: 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 :: *

Constructors

SimpleDesc 

Fields

sdPackages :: Map PackageName DepInfo
 
sdTools :: Map ExeName DepInfo
 
sdProvidedExes :: Set ExeName
 
sdModules :: Set Text
 

toSimpleDesc :: MonadThrow m => CheckCond -> GenericPackageDescription -> m SimpleDesc Source

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

data DepInfo :: *

Instances

Eq DepInfo 
Show DepInfo 
Semigroup DepInfo 
ToJSON DepInfo 
FromJSON DepInfo