packages feed

wild-bind-x11-0.2.0.18: wild-bind-x11.cabal

name:                   wild-bind-x11
version:                0.2.0.18
author:                 Toshio Ito <debug.ito@gmail.com>
maintainer:             Toshio Ito <debug.ito@gmail.com>
license:                BSD3
license-file:           LICENSE
synopsis:               X11-specific implementation for WildBind
description:            X11-specific implementation for WildBind. See <https://github.com/debug-ito/wild-bind>
category:               UserInterface
cabal-version:          2.0
build-type:             Simple
extra-source-files:     README.md, ChangeLog.md
homepage:               https://github.com/debug-ito/wild-bind
bug-reports:            https://github.com/debug-ito/wild-bind/issues

library
  default-language:     Haskell2010
  hs-source-dirs:       src
  ghc-options:          -Wall -fno-warn-unused-imports
  other-extensions:     GeneralizedNewtypeDeriving, FlexibleContexts, TypeSynonymInstances,
                        OverloadedStrings
  exposed-modules:      WildBind.X11,
                        WildBind.X11.Emulate,
                        WildBind.X11.Emulate.Example,
                        WildBind.X11.KeySym,
                        WildBind.X11.Internal.Key,
                        WildBind.X11.Internal.Window,
                        WildBind.X11.Internal.NotificationDebouncer
  other-modules:        WildBind.X11.Internal.FrontEnd,
                        WildBind.X11.Internal.GrabMan
  build-depends:        base ^>=4.14.3 || ^>=4.15.0 || ^>=4.16.0 || ^>=4.17.0 || ^>=4.18.0 || ^>=4.19.0 || ^>=4.20.0 || ^>=4.21.0 || ^>=4.22.0,
                        wild-bind ^>=0.1.2,
                        text ^>=1.2.4 || ^>=2.0.1 || ^>=2.1,
                        X11 ^>=1.10.3,
                        containers ^>=0.6.4 || ^>=0.7 || ^>=0.8,
                        transformers ^>=0.5.6 || ^>=0.6.1,
                        mtl ^>=2.2.2 || ^>=2.3.1,
                        fold-debounce ^>=0.2.0,
                        stm ^>=2.5.0,
                        semigroups ^>=0.20

-- executable wild-bind-x11
--   default-language:     Haskell2010
--   hs-source-dirs:       src
--   main-is:              Main.hs
--   ghc-options:          -Wall -fno-warn-unused-imports
--   -- other-modules:       
--   -- other-extensions:    
--   build-depends:        base >=4 && <5

flag test-interactive
  description: Run tests that require the user to interact with the test script.
  default: False

test-suite spec
  type:                 exitcode-stdio-1.0
  default-language:     Haskell2010
  hs-source-dirs:       test
  ghc-options:          -Wall -fno-warn-unused-imports -threaded "-with-rtsopts=-M512m -N"
  if flag(test-interactive)
    cpp-options:        -DTEST_INTERACTIVE
  main-is:              Spec.hs
  other-extensions:     FlexibleContexts, CPP, OverloadedStrings
  other-modules:        WildBind.X11Spec,
                        WildBind.X11.EmulateSpec,
                        WildBind.X11.Internal.NotificationDebouncerSpec,
                        WildBind.X11.TestUtil
  build-tool-depends:   hspec-discover:hspec-discover
  build-depends:        base ^>=4.14.3 || ^>=4.15.0 || ^>=4.16.0 || ^>=4.17.0 || ^>=4.18.0 || ^>=4.19.0 || ^>=4.20.0 || ^>=4.21.0 || ^>=4.22.0,
                        wild-bind-x11,
                        wild-bind ^>=0.1.2,
                        X11 ^>=1.10.3,
                        text ^>=1.2.4 || ^>=2.0.1 || ^>=2.1,
                        transformers ^>=0.5.6 || ^>=0.6.1,
                        hspec ^>=2.11.12,
                        time ^>=1.9.3 || ^>=1.11.1 || ^>=1.12.2 || ^>=1.14 || ^>=1.15,
                        async ^>=2.2.5

source-repository head
  type:                 git
  location:             https://github.com/debug-ito/wild-bind.git