packages feed

persistent-documentation-0.1.0.6: persistent-documentation.cabal

cabal-version:       >=1.10

name:                persistent-documentation
version:             0.1.0.6
synopsis:            Documentation DSL for persistent entities
description:         A convenient DSL that allows you to attach documentation to persistent database entities
-- bug-reports:
license:             Apache-2.0
license-file:        LICENSE
author:              parsonsmatt
maintainer:          parsonsmatt@gmail.com
copyright:           2019 Lumi, 2024 Matt Parsons
category:            Database
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md

source-repository head
  type: git
  location: https://github.com/parsonsmatt/persistent-documentation

library
  exposed-modules:
    Database.Persist.Documentation
    Database.Persist.Documentation.Internal
    Data.StrMap
    Data.SemiMap
  -- other-modules:
  build-depends:       
      base       >= 4.12 && < 5.0
    , containers
    , persistent >= 2.10 && < 3.0
    , text
    , mtl
    , template-haskell
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite spec
  type:          
    exitcode-stdio-1.0
  main-is:       
    Spec.hs
  hs-source-dirs:
    test
  default-language:
    Haskell2010
  build-tool-depends:
    hspec-discover:hspec-discover
  build-depends:   
      base >= 4.9 && < 5
    , containers
    , hspec
    , hspec-discover
    , persistent
    , persistent-documentation
    , persistent-template >= 2.7.1
    , text
  other-modules:
    DocumentationSpec