packages feed

lipstick-brick-0.1.0.0: lipstick-brick.cabal

cabal-version:   3.12
name:            lipstick-brick
version:         0.1.0.0
synopsis:        Show lipstick blocks in brick and vty applications
description:
  Turn lipstick blocks into vty images and brick widgets, so styles, tables,
  lists and trees made with lipstick can be shown in terminal user interfaces.
category:        Console, User Interfaces
license:         MIT
license-file:    LICENSE
author:          Andrea Bedini
maintainer:      andrea@bedini.au
homepage:        https://github.com/andreabedini/lipstick
bug-reports:     https://github.com/andreabedini/lipstick/issues
build-type:      Simple
tested-with:     GHC == 9.10.3 || == 9.12.2 || == 9.14.1
extra-doc-files:
    CHANGELOG.md
    README.md

source-repository head
    type:     git
    location: https://github.com/andreabedini/lipstick.git
    subdir:   lipstick-brick

common warnings
    ghc-options: -Wall -Wcompat -Wincomplete-uni-patterns -Wincomplete-record-updates

library
    import:           warnings
    hs-source-dirs:   src
    exposed-modules:  Lipstick.Brick
    build-depends:
        base >=4.20 && <4.23,
        text ^>=2.1,
        lipstick ^>=0.1.0.0,
        vty >=6.2 && <6.7,
        brick >=2.7 && <3.1,
        microlens >=0.4 && <0.6
    default-language: GHC2024

test-suite lipstick-brick-test
    import:           warnings
    type:             exitcode-stdio-1.0
    main-is:          Main.hs
    hs-source-dirs:   test
    build-depends:
        base,
        lipstick,
        lipstick-brick,
        brick,
        vty,
        tasty ^>=1.5,
        tasty-hunit ^>=0.10
    default-language: GHC2024