cabal-debian-4.36.1: Create a Debianization for a Cabal package

Safe HaskellNone
LanguageHaskell2010

Debian.Debianize.CabalInfo

Contents

Synopsis

Types

data CabalInfo Source #

Bits and pieces of information about the mapping from cabal package names and versions to debian package names and versions. In essence, an Atoms value represents a package's debianization. The lenses in this module are used to get and set the values hidden in this Atoms value. Many of the values should be left alone to be set when the debianization is finalized.

Instances

Data CabalInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CabalInfo -> c CabalInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CabalInfo #

toConstr :: CabalInfo -> Constr #

dataTypeOf :: CabalInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CabalInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CabalInfo) #

gmapT :: (forall b. Data b => b -> b) -> CabalInfo -> CabalInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CabalInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CabalInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> CabalInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CabalInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CabalInfo -> m CabalInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CabalInfo -> m CabalInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CabalInfo -> m CabalInfo #

Show CabalInfo Source # 
Canonical CabalInfo Source # 

data PackageInfo Source #

Instances

Eq PackageInfo Source # 
Data PackageInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PackageInfo -> c PackageInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PackageInfo #

toConstr :: PackageInfo -> Constr #

dataTypeOf :: PackageInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PackageInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PackageInfo) #

gmapT :: (forall b. Data b => b -> b) -> PackageInfo -> PackageInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PackageInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PackageInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> PackageInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PackageInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PackageInfo -> m PackageInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PackageInfo -> m PackageInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PackageInfo -> m PackageInfo #

Ord PackageInfo Source # 
Show PackageInfo Source # 

Lenses

Builder

newCabalInfo :: (MonadIO m, MonadMask m, Functor m) => Flags -> m (Either String CabalInfo) Source #

Given the Flags value read the cabalization and build a new CabalInfo record.