haskell-gi 0.8 → 0.9
raw patch · 2 files changed
+4/−3 lines, 2 filesdep ~haskell-gi-base
Dependency ranges changed: haskell-gi-base
Files
- haskell-gi.cabal +2/−2
- src/haskell-gi.hs +2/−1
haskell-gi.cabal view
@@ -1,5 +1,5 @@ name: haskell-gi-version: 0.8+version: 0.9 synopsis: Generate Haskell bindings for GObject Introspection capable libraries description: Generate Haskell bindings for GObject Introspection capable libraries. This includes most notably Gtk+, but many other libraries in the GObject ecosystem provide introspection data too.@@ -36,7 +36,7 @@ bytestring, xdg-basedir, xml-conduit >= 1.3.0,- haskell-gi-base == 0.8,+ haskell-gi-base == 0.9, text >= 1.0, free
src/haskell-gi.hs view
@@ -7,6 +7,7 @@ import Control.Monad (forM_, when, (>=>)) import Control.Exception (handle) +import Data.Char (toLower) import Data.Bool (bool) import Data.List (intercalate) import Data.Text (pack, unpack, Text)@@ -171,7 +172,7 @@ codeToString signalCode when (optCabal options) $ do- let cabal = nm ++ ".cabal"+ let cabal = "gi-" ++ map toLower nm ++ ".cabal" fname <- doesFileExist cabal >>= bool (return cabal) (putStrLn (cabal ++ " exists, writing "