packages feed

happindicator3-0.2.1: happindicator3.cabal

name:                  happindicator3
version:               0.2.1
synopsis:              Binding to the appindicator library.
license:               LGPL-2.1
license-file:          LICENSE
author:                Michael LaCorte
maintainer:            mlacorte365@gmail.com
homepage:              https://github.com/mlacorte/happindicator3
build-type:            Simple
cabal-version:         >=1.10
stability:             provisional
category:              GUI
description:           libappindicator is a library for setting up indicator
                       items and menus on indicator panels, as used in the
                       Unity environment in Ubuntu. This binding allows
                       libappindicator to be used from Haskell.
extra-source-files:    README.md
                       changelog.md

source-repository head
  type:                git
  location:            https://github.com/mlacorte/happindicator3

flag demo
  description:         Builds the demo application
  default:             False

library
  hs-source-dirs:      src
  default-language:    Haskell2010
  pkgconfig-depends:   appindicator3-0.1
  ghc-options:         -Wall -fno-warn-name-shadowing

  exposed-modules:     Graphics.UI.AppIndicator

  other-modules:       Graphics.UI.AppIndicator.Signals
                       Graphics.UI.AppIndicator.Types

  build-depends:       base >=4.6  && <5,
                       glib >=0.13 && <0.14,
                       gtk3 >=0.13 && <0.14

executable demo
  main-is:             Main.hs
  hs-source-dirs:      demo
  default-language:    Haskell2010
  build-depends:       base, text, gtk3, happindicator3

  if flag(demo)
    buildable: True
  else
    buildable: False