portager-0.1.1.0: DSL for configuring Gentoo portage

Copyright(C) 2017 Jiri Marsicek
LicenseBSD-style (see the file LICENSE)
MaintainerJiri Marsicek <jiri.marsicek@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Portager.DSL

Description

This module defines portage configuration DSL language.

Synopsis

Documentation

newtype Arch Source #

An Architecture Keyword

Constructors

Arch 

Fields

Instances

Eq Arch Source # 

Methods

(==) :: Arch -> Arch -> Bool #

(/=) :: Arch -> Arch -> Bool #

Show Arch Source # 

Methods

showsPrec :: Int -> Arch -> ShowS #

show :: Arch -> String #

showList :: [Arch] -> ShowS #

IsString Arch Source # 

Methods

fromString :: String -> Arch #

class ShowText a where Source #

Minimal complete definition

showText

Methods

showText :: a -> Text Source #

type Name = Text Source #

newtype Atom Source #

Portage Atom

Constructors

Atom Name 

Instances

Eq Atom Source # 

Methods

(==) :: Atom -> Atom -> Bool #

(/=) :: Atom -> Atom -> Bool #

Ord Atom Source # 

Methods

compare :: Atom -> Atom -> Ordering #

(<) :: Atom -> Atom -> Bool #

(<=) :: Atom -> Atom -> Bool #

(>) :: Atom -> Atom -> Bool #

(>=) :: Atom -> Atom -> Bool #

max :: Atom -> Atom -> Atom #

min :: Atom -> Atom -> Atom #

Show Atom Source # 

Methods

showsPrec :: Int -> Atom -> ShowS #

show :: Atom -> String #

showList :: [Atom] -> ShowS #

IsString Atom Source # 

Methods

fromString :: String -> Atom #

ShowText Atom Source # 

Methods

showText :: Atom -> Text Source #

data Use Source #

Constructors

Use Bool Text 

Instances

Eq Use Source # 

Methods

(==) :: Use -> Use -> Bool #

(/=) :: Use -> Use -> Bool #

Ord Use Source # 

Methods

compare :: Use -> Use -> Ordering #

(<) :: Use -> Use -> Bool #

(<=) :: Use -> Use -> Bool #

(>) :: Use -> Use -> Bool #

(>=) :: Use -> Use -> Bool #

max :: Use -> Use -> Use #

min :: Use -> Use -> Use #

Show Use Source # 

Methods

showsPrec :: Int -> Use -> ShowS #

show :: Use -> String #

showList :: [Use] -> ShowS #

IsString Use Source # 

Methods

fromString :: String -> Use #

ShowText Use Source # 

Methods

showText :: Use -> Text Source #

unstable :: PortageT PackageConfiguration () Source #

Appends unstable keyword for globally configured architecture to a PackageConfiguration.

pkgs :: [ReaderT PortagerConfiguration Identity Package] -> PortageT SetConfiguration () Source #

Appends Packages to a SetConfiguration as explicit dependencies (listed in set file)

class WithUseflags a where Source #

Minimal complete definition

useL

Methods

useL :: Lens' a [Use] Source #

use :: [Use] -> PortageT a () Source #

Appends Uses to an encapsulated configuration.

uses :: [Use] -> PortageT a () Source #

class Monoid (Configuration w) => With w where Source #

A class for modifications to an encapsulated configuration of w

Minimal complete definition

configurationL

Associated Types

type Configuration w Source #