Safe Haskell | None |
---|---|
Language | Haskell2010 |
Shared types for various stackage packages.
- data BuildPlan = BuildPlan {}
- data PackagePlan = PackagePlan {}
- data PackageConstraints = PackageConstraints {}
- data TestState
- data SystemInfo = SystemInfo {}
- newtype Maintainer = Maintainer {
- unMaintainer :: Text
- newtype ExeName = ExeName {}
- data SimpleDesc = SimpleDesc {}
- data DepInfo = DepInfo {}
- data Component
- data SnapName
- data MiniBuildPlan = MiniBuildPlan {}
- data MiniPackageInfo = MiniPackageInfo {
- mpiVersion :: !Version
- mpiFlags :: !(Map FlagName Bool)
- mpiPackageDeps :: !(Set PackageName)
- mpiToolDeps :: !(Set ByteString)
- mpiExes :: !(Set ExeName)
- mpiHasLibrary :: !Bool
- renderSnapName :: SnapName -> Text
- parseSnapName :: MonadThrow m => Text -> m SnapName
Types
BuildPlan | |
|
data PackagePlan Source
ExpectSuccess | |
ExpectFailure | |
Don'tBuild | when the test suite will pull in things we don't want |
newtype Maintainer Source
Name of an executable.
Eq ExeName Source | |
Ord ExeName Source | |
Show ExeName Source | |
IsString ExeName Source | |
Generic ExeName Source | |
Binary ExeName Source | |
ToJSON ExeName Source | |
FromJSON ExeName Source | |
NFData ExeName Source | |
Hashable ExeName Source | |
HasStructuralInfo ExeName Source | |
ToJSON a => ToJSON (Map ExeName a) Source | |
FromJSON a => FromJSON (Map ExeName a) Source | |
type Rep ExeName Source |
data SimpleDesc Source
A simplified package description that tracks:
- Package dependencies
- Build tool dependencies
- Provided executables
It has fully resolved all conditionals
SimpleDesc | |
|
The name of an LTS Haskell or Stackage Nightly snapshot.
data MiniBuildPlan Source
A simplified version of the BuildPlan
+ cabal file.
Eq MiniBuildPlan Source | |
Show MiniBuildPlan Source | |
Generic MiniBuildPlan Source | |
Binary MiniBuildPlan Source | |
NFData MiniBuildPlan Source | |
HasStructuralInfo MiniBuildPlan Source | |
HasSemanticVersion MiniBuildPlan Source | |
type Rep MiniBuildPlan Source | |
type SemanticVersion MiniBuildPlan = 0 |
data MiniPackageInfo Source
Information on a single package for the MiniBuildPlan
.
MiniPackageInfo | |
|
renderSnapName :: SnapName -> Text Source
Convert a SnapName
into its short representation, e.g. lts-2.8
,
nightly-2015-03-05
.
parseSnapName :: MonadThrow m => Text -> m SnapName Source
Parse the short representation of a SnapName
.