packages feed

brick-dropdownmenu-0.1.0: brick-dropdownmenu.cabal

-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: a585b898b2e28775a391fa1d72334d9dfcd5f96391fc26eb258a9a0fc13d9a3d

name:           brick-dropdownmenu
version:        0.1.0
synopsis:       A drop-down menu widget for brick.
description:    A simple drop-down menu widget for the declarative text user interface library brick.
                Each submenu and menu item can have an associated global key binding.
category:       Graphics
homepage:       https://github.com/mlang/brick-dropdownmenu#readme
bug-reports:    https://github.com/mlang/brick-dropdownmenu/issues
author:         Mario Lang
maintainer:     mlang@blind.guru
copyright:      2018 Mario Lang
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/mlang/brick-dropdownmenu

flag demo
  description: Build the demo program
  manual: True
  default: False

library
  exposed-modules:
      Brick.Widgets.DropDownMenu
  other-modules:
      Paths_brick_dropdownmenu
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , brick >=0.35 && <0.42
    , containers
    , microlens
    , microlens-ghc
    , microlens-th
    , pointedlist
    , vector
    , vty
  default-language: Haskell2010

executable brick-dropdownmenu-demo
  main-is: Demo.hs
  other-modules:
      Paths_brick_dropdownmenu
  hs-source-dirs:
      app
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , brick >=0.35 && <0.42
    , brick-dropdownmenu
    , containers
    , microlens
    , microlens-ghc
    , microlens-th
    , pointedlist
    , text
    , vector
    , vty
  if flag(demo)
    buildable: True
  else
    buildable: False
  default-language: Haskell2010