haskell-gi-0.26.3: Generate Haskell bindings for GObject Introspection capable libraries
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.GI.CodeGen.Cabal

Synopsis

Documentation

genCabalProject :: (GIRInfo, PkgInfo) -> [(GIRInfo, PkgInfo)] -> [Text] -> BaseVersion -> CodeGen e () 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.