cabal-version: 2.2

name: systranything
version: 0.1.1.0
synopsis: Let you put anything in the system tray
homepage: https://github.com/jecaro/systranything
author: Jean-Charles Quillet
maintainer: jeancharles.quillet@gmail.com
license: MIT
license-file: LICENSE
category: Desktop
build-type: Simple
description:
  `systranything` creates a system tray menu based on a YAML file. The YAML
  contains the specification of the menu items with shell commands to execute
  when the items are clicked.
tested-with:
  GHC == 9.2.8,
  GHC == 9.4.5,
  GHC == 9.6.2
extra-source-files:
  cabal.project
extra-doc-files:
  CHANGELOG.md
  README.md
  demo.gif

source-repository head
  type: git
  location: https://github.com/jecaro/systranything.git

executable systranything
  main-is:
    Main.hs
  hs-source-dirs:
    systranything
  other-modules:
    Model.Checkbox
    Model.Command
    Model.Common
    Model.Indicator
    Model.Internal
    Model.Item
    Model.Label
    Model.RadioGroup
    Model.RadioButton
    Model.Root
    Model.SubMenu
    Options
  build-depends:
    aeson >= 2.1.2 && < 2.2,
    base >= 4.16 && < 5,
    bytestring >= 0.11.4 && < 0.12,
    extra >= 1.7.14 && < 1.8,
    gi-ayatana-appindicator3 >= 0.1.0 && < 0.2,
    gi-gdk >= 3.0.28 && < 3.1,
    gi-glib >= 2.0.29 && < 2.1,
    gi-gobject >= 2.0.30 && < 2.1,
    gi-gtk >= 3.0.39 && < 3.1,
    optparse-applicative >= 0.17.1 && < 0.19,
    text >= 2.0.2 && < 2.1,
    typed-process >= 0.2.11 && < 0.3,
    unliftio >= 0.2.25 && < 0.3,
    yaml >= 0.11.11 && < 0.12,
  default-language:
    Haskell2010
  default-extensions:
    DeriveGeneric
    DerivingStrategies
    OverloadedLabels
    OverloadedStrings
    RecordWildCards
    ScopedTypeVariables
    StrictData
    TupleSections
  ghc-options:
    -Wall
    -Wcompat
    -Widentities
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wpartial-fields
    -Wredundant-constraints
    -Wunused-packages
    -threaded
    -with-rtsopts=-N