packages feed

model-0.5: model.cabal

name:                model
version:             0.5
synopsis:            Derive a model of a data type using Generics
description:         See the <http://github.com/Quid2/model online tutorial>.
homepage:            http://github.com/Quid2/model
license:             BSD3
license-file:        LICENSE
author:              Pasqualino `Titto` Assini
maintainer:          tittoassini@gmail.com
copyright:           Copyright: (c) 2016 Pasqualino `Titto` Assini
category:            Data,Reflection,Generics
build-type:          Simple
cabal-version:       >=1.10
Tested-With: GHC == 7.10.3 GHC == 8.0.2 GHC == 8.2.2 GHC == 8.4.4 GHC == 8.6.5
extra-source-files: stack.yaml,README.md,CHANGELOG

source-repository head
  type:     git
  location: https://github.com/Quid2/model

library
  hs-source-dirs:      src
  exposed-modules:     Data.Model
                     , Data.Model.Class
                     , Data.Model.Env
                     , Data.Model.Instances
                     , Data.Model.Pretty
                     , Data.Model.Types
                     , Data.Model.Util
                     , Type.ANat,Type.Analyse
                     , Data.Convertible.Tiny
  -- other-modules: Data.Convertible.Base,Data.Convertible.Instances.Text,Data.Convertible.Instances.Num,Data.Convertible.Utils                     
  build-depends:       base >= 4.8 && < 5
                     , containers
                     , either > 4.3.2 && <6
                     , deepseq
                     , transformers >= 0.4.2.0 && < 0.6
                     , pretty >= 1.1.2
                     --, text , bytestring
                     , convertible >= 1.1.1.0 && < 1.2
  default-language:    Haskell2010
  ghc-options:  -Wall -fno-warn-orphans

test-suite model-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules: Test.Data,Test.Data2,Test.Data3,Test.Data.Model,Info
  build-depends:       base
                     , pretty
                     , containers
                     , model
                     , ghc-prim
                     , tasty >= 0.11
                     , tasty-hunit >= 0.8

  default-language:    Haskell2010

test-suite model-doctest
  default-language:   Haskell2010
  type:               exitcode-stdio-1.0
  ghc-options:        -threaded
  main-is:            DocSpec.hs
  build-depends:      base, doctest>=0.11.2,filemanip>=0.3.6.3,model
  HS-Source-Dirs:     test