packages feed

tinytools-vty-0.1.0.7: tinytools-vty.cabal

cabal-version: 1.12

name:           tinytools-vty
version:        0.1.0.7
description:    tinytools-vty is a terminal based monospace unicode diagram editing tool
homepage:       https://github.com/minimapletinytools/tinytools-vty#readme
bug-reports:    https://github.com/minimapletinytools/tinytools-vty/issues
author:         minimaple
maintainer:     minimapletinytools@gmail.com
category:       Graphics
synopsis:       tinytools-vty is a terminal based monospace unicode diagram editing tool
copyright:      2023 minimaple (Peter Lu)
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    tutorial.md
    ChangeLog.md
    tutorial.tt
    xterm-256color_termwidthfile


Tested-With: GHC ==9.2.5 || ==9.6.2

source-repository head
  type: git
  location: https://github.com/minimapletinytools/tinytools-vty


library
  exposed-modules:
      Data.String.Unicode.Lookup
      Potato.Flow.TutorialState
      Potato.Flow.Vty.Alert
      Potato.Flow.Vty.AppKbCmd
      Potato.Flow.Vty.Attrs
      Potato.Flow.Vty.Canvas
      Potato.Flow.Vty.Common
      Potato.Flow.Vty.Info
      Potato.Flow.Vty.Input
      Potato.Flow.Vty.Layer
      Potato.Flow.Vty.Left
      Potato.Flow.Vty.Main
      Potato.Flow.Vty.OpenWindow
      Potato.Flow.Vty.Params
      Potato.Flow.Vty.PotatoReader
      Potato.Flow.Vty.SaveAsWindow
      Potato.Flow.Vty.ToolOptions
      Potato.Flow.Vty.Tools
      Potato.Reflex.Vty.Helpers
      Potato.Reflex.Vty.Host
      Potato.Reflex.Vty.Widget
      Potato.Reflex.Vty.Widget.FileExplorer
      Potato.Reflex.Vty.Widget.Menu
      Potato.Reflex.Vty.Widget.Popup
      Potato.Reflex.Vty.Widget.ScrollBar
      Potato.Reflex.Vty.Widget.TextInputHelpers
      Potato.Reflex.Vty.Widget.Windows
      Reflex.Vty.Test.Monad.Host
      Reflex.Vty.Test.Monad.Host.TH
  hs-source-dirs:
      src
  default-extensions:
      ApplicativeDo
      BangPatterns
      DataKinds
      ConstraintKinds
      DeriveFoldable
      DeriveFunctor
      DeriveTraversable
      DeriveGeneric
      DeriveLift
      DeriveTraversable
      DerivingStrategies
      EmptyCase
      ExistentialQuantification
      FlexibleContexts
      FlexibleInstances
      FunctionalDependencies
      GADTs
      GeneralizedNewtypeDeriving
      InstanceSigs
      KindSignatures
      LambdaCase
      MultiParamTypeClasses
      MultiWayIf
      NamedFieldPuns
      OverloadedStrings
      PatternSynonyms
      RankNTypes
      ScopedTypeVariables
      StandaloneDeriving
      TupleSections
      TypeApplications
      TypeFamilies
      TypeFamilyDependencies
      TypeOperators
      NoImplicitPrelude
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
    base >=4.7 && <5
    , reflex >= 0.9.2 && < 1
    , reflex-test-host >=0.1.2.3 && < 0.2
    , reflex-potatoes >= 0.1.0 && < 0.2
    , reflex-vty >= 0.5.1 && < 0.6
    , tinytools == 0.1.0.7
    , aeson >= 2.1.2 && < 2.2
    , template-haskell >= 2.18 && < 2.21
    , containers >= 0.6.7 && < 0.7
    , bytestring >= 0.11.4 && < 0.12
    , mtl >= 2.3.1 && < 2.4
    , filepath >= 1.4.100 && < 1.5
    , text >= 2.0.2 && < 2.1
    , primitive >= 0.7.4 && < 0.8
    , time >= 1.12.2 && < 1.13
    , semialign >= 1.3 && < 1.4
    , these >= 1.2 && < 1.3
    , aeson-pretty >= 0.8.10 && < 0.9
    , directory >= 1.3.8 && < 1.4
    , ansi-terminal >= 1.0 && < 1.1
    , bimap >= 0.5.0 && < 0.6
    , clock >= 0.8.4 && < 0.9
    , constraints-extras >= 0.4.0 && < 0.5
    , data-default >= 0.7.1 && < 0.8
    , dependent-map >= 0.4.0 && < 0.5
    , dependent-sum >= 0.7.2 && < 0.8
    , extra >= 1.7.14 && < 1.8
    , file-embed >= 0.0.15 && < 0.1
    , http-conduit >= 2.3.8 && < 2.4
    , ilist >= 0.4.0 && < 0.5
    , lens >= 5.2.3 && < 5.3
    , ref-tf >= 0.5.0 && < 0.6
    , relude >= 1.2.1 && < 1.3
    , vty>=5.28 && <5.39
    , optparse-applicative >= 0.18.1 && < 0.19
  default-language: Haskell2010

executable tinytools
  main-is: Main.hs
  other-modules:
      Paths_tinytools_vty
  hs-source-dirs:
      app
  default-extensions:
      ApplicativeDo
      BangPatterns
      DataKinds
      ConstraintKinds
      DeriveFoldable
      DeriveFunctor
      DeriveTraversable
      DeriveGeneric
      DeriveLift
      DeriveTraversable
      DerivingStrategies
      EmptyCase
      ExistentialQuantification
      FlexibleContexts
      FlexibleInstances
      FunctionalDependencies
      GADTs
      GeneralizedNewtypeDeriving
      InstanceSigs
      KindSignatures
      LambdaCase
      MultiParamTypeClasses
      MultiWayIf
      NamedFieldPuns
      OverloadedStrings
      PatternSynonyms
      RankNTypes
      ScopedTypeVariables
      StandaloneDeriving
      TupleSections
      TypeApplications
      TypeFamilies
      TypeFamilyDependencies
      TypeOperators
      NoImplicitPrelude
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N +RTS -A128m -n2m -s -RTS
  build-depends:
    base >=4.7 && <5
    , reflex >= 0.9.2 && < 1
    , reflex-test-host >=0.1.2.3 && < 0.2
    , reflex-potatoes >= 0.1.0 && < 0.2
    , reflex-vty >= 0.5.1 && < 0.6
    , tinytools == 0.1.0.7
    , aeson >= 2.1.2 && < 2.2
    , template-haskell >= 2.18 && < 2.21
    , containers >= 0.6.7 && < 0.7
    , bytestring >= 0.11.4 && < 0.12
    , mtl >= 2.3.1 && < 2.4
    , filepath >= 1.4.100 && < 1.5
    , text >= 2.0.2 && < 2.1
    , primitive >= 0.7.4 && < 0.8
    , time >= 1.12.2 && < 1.13
    , semialign >= 1.3 && < 1.4
    , these >= 1.2 && < 1.3
    , aeson-pretty >= 0.8.10 && < 0.9
    , directory >= 1.3.8 && < 1.4
    , ansi-terminal >= 1.0 && < 1.1
    , bimap >= 0.5.0 && < 0.6
    , clock >= 0.8.4 && < 0.9
    , constraints-extras >= 0.4.0 && < 0.5
    , data-default >= 0.7.1 && < 0.8
    , dependent-map >= 0.4.0 && < 0.5
    , dependent-sum >= 0.7.2 && < 0.8
    , extra >= 1.7.14 && < 1.8
    , file-embed >= 0.0.15 && < 0.1
    , http-conduit >= 2.3.8 && < 2.4
    , ilist >= 0.4.0 && < 0.5
    , lens >= 5.2.3 && < 5.3
    , ref-tf >= 0.5.0 && < 0.6
    , relude >= 1.2.1 && < 1.3
    , vty>=5.28 && <5.39
    , optparse-applicative >= 0.18.1 && < 0.19
    , tinytools-vty
  default-language: Haskell2010

test-suite tinytools-vty-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Potato.Flow.ParamsSpec
      Potato.FlowSpecTH
      Potato.Reflex.Vty.Widget.PopupSpec
      PotatoSpec
      Reflex.Vty.Test.Common
      Reflex.Vty.Test.Monad.HostSpec
      Reflex.Vty.Test.Monad.THSpec
  hs-source-dirs:
      test
  default-extensions:
      ApplicativeDo
      BangPatterns
      DataKinds
      ConstraintKinds
      DeriveFoldable
      DeriveFunctor
      DeriveTraversable
      DeriveGeneric
      DeriveLift
      DeriveTraversable
      DerivingStrategies
      EmptyCase
      ExistentialQuantification
      FlexibleContexts
      FlexibleInstances
      FunctionalDependencies
      GADTs
      GeneralizedNewtypeDeriving
      InstanceSigs
      KindSignatures
      LambdaCase
      MultiParamTypeClasses
      MultiWayIf
      NamedFieldPuns
      OverloadedStrings
      PatternSynonyms
      RankNTypes
      ScopedTypeVariables
      StandaloneDeriving
      TupleSections
      TypeApplications
      TypeFamilies
      TypeFamilyDependencies
      TypeOperators
      NoImplicitPrelude
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
    base >=4.7 && <5
    , HUnit
    , hspec
    , hspec-contrib
    , reflex >= 0.9.2 && < 1
    , reflex-test-host >=0.1.2.3 && < 0.2
    , reflex-vty >= 0.5.1 && < 0.6
    , vty>=5.28 && <5.39
    , relude >= 1.2.1 && < 1.3
    , tinytools >= 0.1.0.7 && < 0.2
    , tinytools-vty
    , ref-tf >= 0.5.0 && < 0.6
    , data-default >= 0.7.1 && < 0.8
  default-language: Haskell2010