stackage2nix-0.3.0: Convert Stack files into Nix build instructions.
Stack.Config.Yaml
data Location a Source #
Constructors
Fields
Instances
Methods
(==) :: Location a -> Location a -> Bool #
(/=) :: Location a -> Location a -> Bool #
showsPrec :: Int -> Location a -> ShowS #
show :: Location a -> String #
showList :: [Location a] -> ShowS #
toJSON :: Location a0 -> Value #
toEncoding :: Location a0 -> Encoding #
toJSONList :: [Location a0] -> Value #
toEncodingList :: [Location a0] -> Encoding #
parseJSON :: Value -> Parser (Location a0) #
parseJSONList :: Value -> Parser [Location a0] #
lLocation :: forall a a. Lens (Location a) (Location a) a a Source #
lExtraDep :: forall a. Lens' (Location a) (Maybe Bool) Source #
data Git Source #
(==) :: Git -> Git -> Bool #
(/=) :: Git -> Git -> Bool #
showsPrec :: Int -> Git -> ShowS #
show :: Git -> String #
showList :: [Git] -> ShowS #
toJSON :: Git -> Value #
toEncoding :: Git -> Encoding #
toJSONList :: [Git] -> Value #
toEncodingList :: [Git] -> Encoding #
parseJSON :: Value -> Parser Git #
parseJSONList :: Value -> Parser [Git] #
gGit :: Lens' Git Text Source #
gCommit :: Lens' Git Text Source #
data Hg Source #
(==) :: Hg -> Hg -> Bool #
(/=) :: Hg -> Hg -> Bool #
showsPrec :: Int -> Hg -> ShowS #
show :: Hg -> String #
showList :: [Hg] -> ShowS #
toJSON :: Hg -> Value #
toEncoding :: Hg -> Encoding #
toJSONList :: [Hg] -> Value #
toEncodingList :: [Hg] -> Encoding #
parseJSON :: Value -> Parser Hg #
parseJSONList :: Value -> Parser [Hg] #
hHg :: Lens' Hg Text Source #
hCommit :: Lens' Hg Text Source #
data Package Source #
(==) :: Package -> Package -> Bool #
(/=) :: Package -> Package -> Bool #
showsPrec :: Int -> Package -> ShowS #
show :: Package -> String #
showList :: [Package] -> ShowS #
toJSON :: Package -> Value #
toEncoding :: Package -> Encoding #
toJSONList :: [Package] -> Value #
toEncodingList :: [Package] -> Encoding #
parseJSON :: Value -> Parser Package #
parseJSONList :: Value -> Parser [Package] #
_LocationHg :: Prism' Package (Location Hg) Source #
_LocationGit :: Prism' Package (Location Git) Source #
_LocationSimple :: Prism' Package (Location Text) Source #
_Simple :: Prism' Package Text Source #
data Config Source #
(==) :: Config -> Config -> Bool #
(/=) :: Config -> Config -> Bool #
showsPrec :: Int -> Config -> ShowS #
show :: Config -> String #
showList :: [Config] -> ShowS #
toJSON :: Config -> Value #
toEncoding :: Config -> Encoding #
toJSONList :: [Config] -> Value #
toEncodingList :: [Config] -> Encoding #
parseJSON :: Value -> Parser Config #
parseJSONList :: Value -> Parser [Config] #
cResolver :: Lens' Config Text Source #
cPackages :: Lens' Config (Maybe [Package]) Source #
cExtraDeps :: Lens' Config (Maybe [Text]) Source #