packages feed

Shpadoinkle-widgets-0.2.0.0: Shpadoinkle-widgets.cabal

cabal-version: 1.12

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

name:           Shpadoinkle-widgets
version:        0.2.0.0
synopsis:       A collection of common reusable types and components.
description:    There are many shared abstractions between various UIs that represent themselves in frameworks and applications. This package provides a useful subset of these concepts as types along with implementations consuming these types.
category:       Web
author:         Isaac Shapira
maintainer:     fresheyeball@protonmail.com
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://gitlab.com/fresheyeball/Shpadoinkle.git

flag testing
  description: Provide test kit around QuickCheck
  manual: True
  default: False

library
  exposed-modules:
      Shpadoinkle.Widgets.Form.Input
      Shpadoinkle.Widgets.Form.Dropdown
      Shpadoinkle.Widgets.Table
      Shpadoinkle.Widgets.Table.Lazy
      Shpadoinkle.Widgets.Types
      Shpadoinkle.Widgets.Types.Choice
      Shpadoinkle.Widgets.Types.ConsideredChoice
      Shpadoinkle.Widgets.Types.Core
      Shpadoinkle.Widgets.Types.Form
      Shpadoinkle.Widgets.Types.Physical
      Shpadoinkle.Widgets.Types.Remote
      Shpadoinkle.Widgets.Types.Search
      Shpadoinkle.Widgets.Validation
  other-modules:
      Paths_Shpadoinkle_widgets
  hs-source-dirs:
      ./.
  ghc-options: -Wall -Wcompat -fwarn-redundant-constraints -fwarn-incomplete-uni-patterns -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-identities
  build-depends:
      Shpadoinkle
    , Shpadoinkle-html
    , aeson >=1.4.4 && <1.6
    , base >=4.12.0 && <4.16
    , compactable >=0.1.2 && <0.2
    , containers >=0.6.0 && <0.7
    , edit-distance >=0.2.2 && <0.3
    , email-validate >=2.3.2 && <2.4
    , jsaddle >=0.9.7 && <0.20
    , mtl >=2.2.2 && <2.3
    , stm >=2.5.0 && <2.6
    , template-haskell >=2.14.0 && <2.17
    , text >=1.2.3 && <1.3
    , unliftio >=0.2.12 && <0.3
  if flag(testing)
    exposed-modules:
        Test.QuickCheck.Classes.Hspec
        Test.QuickCheck.Classes.FoldableOrd
    cpp-options: -DTESTING
    build-depends:
        QuickCheck
      , hspec
      , quickcheck-classes
      , quickcheck-classes-base
      , transformers
  default-language: Haskell2010

test-suite unit
  type: exitcode-stdio-1.0
  main-is: Test.hs
  other-modules:
      Paths_Shpadoinkle_widgets
  hs-source-dirs:
      tests
  ghc-options: -Wall -Wcompat -fwarn-redundant-constraints -fwarn-incomplete-uni-patterns -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-identities
  cpp-options: -DTESTING
  build-depends:
      QuickCheck
    , Shpadoinkle-widgets
    , base >=4.12.0 && <4.16
    , containers
    , hspec
    , quickcheck-classes
    , quickcheck-classes-base
  default-language: Haskell2010