haskell-gi-0.22.6: Generate Haskell bindings for GObject Introspection capable libraries

Safe HaskellNone
LanguageHaskell98

Data.GI.CodeGen.Cabal

Synopsis

Documentation

genCabalProject :: (GIRInfo, PkgInfo) -> [(GIRInfo, PkgInfo)] -> [Text] -> BaseVersion -> CodeGen () Source #

Generate the cabal project.

tryPkgConfig :: GIRInfo -> Bool -> Map Text Text -> IO (Either Text PkgInfo) Source #

Determine the pkg-config name and installed version (major.minor only) for a given module, or throw an exception if that fails.