cabal-install-parsers-0.6.1.1: Utilities to work with cabal-install files
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cabal.SourceRepo

Description

Originally Distribution.Client.SourceRepo

Synopsis

SourceRepo

data SourceRepositoryPackage f Source #

source-repository-package definition

Instances

Instances details
Generic (SourceRepositoryPackage f) Source # 
Instance details

Defined in Cabal.SourceRepo

Associated Types

type Rep (SourceRepositoryPackage f) :: Type -> Type #

Show (f FilePath) => Show (SourceRepositoryPackage f) Source # 
Instance details

Defined in Cabal.SourceRepo

NFData (f FilePath) => NFData (SourceRepositoryPackage f) Source #

Since: 0.2.1

Instance details

Defined in Cabal.SourceRepo

Methods

rnf :: SourceRepositoryPackage f -> () #

Eq (f FilePath) => Eq (SourceRepositoryPackage f) Source # 
Instance details

Defined in Cabal.SourceRepo

Ord (f FilePath) => Ord (SourceRepositoryPackage f) Source # 
Instance details

Defined in Cabal.SourceRepo

type Rep (SourceRepositoryPackage f) Source # 
Instance details

Defined in Cabal.SourceRepo

type Rep (SourceRepositoryPackage f) = D1 ('MetaData "SourceRepositoryPackage" "Cabal.SourceRepo" "cabal-install-parsers-0.6.1.1-B4rkLQSiWon1S4VU6fSm0K" 'False) (C1 ('MetaCons "SourceRepositoryPackage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "srpType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RepoType) :*: S1 ('MetaSel ('Just "srpLocation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :*: (S1 ('MetaSel ('Just "srpTag") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe String)) :*: (S1 ('MetaSel ('Just "srpBranch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just "srpSubdir") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (f FilePath))))))

Aliases

type SourceRepoList = SourceRepositoryPackage List Source #

Read from cabal.project

type SourceRepoProxy = SourceRepositoryPackage Proxy Source #

SourceRepositoryPackage without subdir. Used in clone errors. Cloning doesn't care about subdirectory.

Functions

srpFanOut :: SourceRepositoryPackage List -> NonEmpty (SourceRepositoryPackage Maybe) Source #

Split single source-repository-package declaration with multiple subdirs, into multiple ones with at most single subdir.

Grammar